Object-Oriented Programming with Java, part I – Exercise 15

This program asks a user to input their age and then returns whether they have reached the age of majority (18) yet or not. My Code Model Code The major difference between my code and the model code is the use of a System.out.println(“”); to create some whitespace.

Object-Oriented Programming with Java, part I – Exercise 13

This program imports the NHL statistics and then provides various ways to sort them. My Code Model Code As can be seen, my code is completely different to the model code. For starters I left import java.util.Scanner; in at the start which wasn’t needed at all along with Scanner reader = new Scanner(System.in);. This was …

Read moreObject-Oriented Programming with Java, part I – Exercise 13