- I need some kind of memory and that couldn’t only be provided with objects
o Arraylist
- To mark books as liked my first idea was to use Boolean to mark the books if liked or not, but it was not later feasible with OOP and the following use for customer and getAllLikedBooks
o Store liked books in a list for each customer and increase number of likes for a book
- I need some kind of memory and that couldn’t only be provided with objects
-> Arraylist
- To mark books as liked my first idea was to use Boolean to mark the books if liked or not, but it was not later feasible with OOP and the following use for customer and getAllLikedBooks
-> Store liked books in a list for each customer and increase number of likes for a book
Most liked books: first I implemented a method that returns the most liked book