1DV506, Problem Solving and Programming, Autumn 2018


Assignment 4: Exceptions, IO, and Interfaces


Problems?
Do not hesitate to ask your teaching assistants at the practical meetings (or Jonas/Lars at the lectures) if you have any problems. You can also post a question in the assignment forum in Moodle.

Prepare Eclipse for Assignment 4

Create a new package with the name YourLnuUserName_assign4 inside the Java project 1DV506 and save all program files for this assignment inside that package.

Lecture 9 - IO and Exceptions

All exceptions related to exercises 1 and 2 should be handled within the programs. Also, exercises 1 and 2 can be handled by a single class respectively. Hence, there is no need for any additional classes apart from the one containing the main method. However, feel free to divide your programs into a number of methods.

Lecture 10 - Static Members and Interfaces

General Java




Submission

All exercises should be handed in and we are only interested in your .java files. (Notice that the VG exercise 5 is not mandatory.) Hence, zip the directory named YourLnuUserName_assign4 (inside directory named src) and submit it using the Moodle submission system.