A class representing an author.
author.addBook(new Book("The Lord of the Rings")); // only this line shall be included in the docs Copy
author.addBook(new Book("The Lord of the Rings")); // only this line shall be included in the docs
A class representing an author.
Example