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

This exercise creates a sorting program that returns the value, swaps values and also returns the index of the smallest value. My Code Main Model Code Comments At first I thought it was a lot worse than it was. The model codes variables are better, the code cleaner but in most cases i go about …

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

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

This exercise gets us to create a Bird Watchers database. Basically the same as the Library exercise from before. My Code Main Bird Database Comments As far as I can tell it works correctly but as I was unable to test it (there was an error from TMC) I might have missed something. I suppose …

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

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

This exercise asks us to implement a grades distribution program in an program form we decide. My Code Main Grades Model Code Main GradeDistribution Comments Well, as to be expected there are a lot of difference between my code and the model code. I prefer the model code. The use of if statements to assign …

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