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

This program uses the method palindrome to compare a string with its reverse and return true if it is a palindrome. My Code Model Code Comments My code is better, but then that is a mix of me waking up, refusing to do the iteration because there must be an easier way and then spending …

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

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

This program returns true if the number is in the array list more than once. My Code Model Code Comments 🙂 Isn’t it great when you think you’ve missed something but then the model code does it the same way. Although looking back i have made a mistake. should be…. Otherwise if the number appears …

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