1DV507, Programming and Data Structures, Spring 2017


Assignment 1: Inheritance, Recursion and Java 1.8


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

Prepare Eclipse for course 1DV507 and Assignment 1
Start by creating a new Java project named 1DV507. Then create a new package with the name YourLnuUserName_assign1 inside the Java project 1DV507 and save all program files for this assignment inside that package. Later on, when submitting your assignment, you should submit a zipped version of this folder/package.

General Assignment Rules

Lecture 1 - Inheritance

Lecture 2 - Recursion and External Packages

Exercises 3-5 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 3 - New Java 1.8 Features




Submission

We are only interested in your .java files and please notice that the VG exercises 9 is not mandatory. In the end, zip the directory named YourLnuUserName_assign1 (inside directory named src) and submit it using the Moodle submission system.