Say i have 2 Objects - An author object and a book object. Now i have a created class which implements a class which contains all the methods needed to get information for the objects ex. getAuthorName, getAuthorDOB, getBookName, getBookReleaseDate.
Now the book object also contains an authour object .
How would i get all the books written by a specific author using this method?
Sorry i am trying to learn Java in my spare time but i am very confused.