Question: by java without comments please Create four classes: Chapter, Book, library and Main with the following specification: Class Chapter: Constructor: It initializes the value of

Create four classes: Chapter, Book, library and Main with the following specification: Class Chapter: Constructor: It initializes the value of all attributes based on the corresponding input parameters. Getters and Setters for all attributes. Class Book: Constructor: It initializes the value of all attributes based on the corresponding input parameters, in addition, it instantiates the chapters Hashtable. Getters and Setters for all attributes. Class Library: Constructor: it initializes the value of all attributes based on the corresponding input parameters, in addition, it instantiates the list. Getters and Setters for all attributes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
