Question: Please help me with this Java Assignment !!! 1. Create a new project in Eclipse (File >New >Java Project.) Name it Homework201. Then: Similar to


Please help me with this Java Assignment !!!
1. Create a new project in Eclipse (File >New >Java Project.) Name it Homework201. Then: Similar to the BookStore and Book examples we have done in class, write three classes as follows: A. A class that defines an entity of your choice (you cannot choose a Book). The class should contain minimum of 2 fields, plus getters and setters as applicable. B. A class that defines an entity of your choice (you cannot choose a BookStore). This class should have a composition relationship with the class you create in Part A. Also, this class should contain minimum of 1 custom constructor, 2 fields 2 methods that interact with the composed obiect (such as changing a book title in our class examplel, plus setters and getters as applicable. C. A runner class that will test your program by: Instantiating at least 2 objects from Part B. The objects you crate must be complete such that the composed variables do not contain "null" values. a. b. Calling the two methods that interact with the composed class variables Printing the objects you created with all the information of the fields you created in Parts A and B. c. You can be creative and make an interesting app so long you meet the above two requirements of the question. You may use vour code from the previous homework if vou want. 1. Create a new project in Eclipse (File >New >Java Project.) Name it Homework201. Then: Similar to the BookStore and Book examples we have done in class, write three classes as follows: A. A class that defines an entity of your choice (you cannot choose a Book). The class should contain minimum of 2 fields, plus getters and setters as applicable. B. A class that defines an entity of your choice (you cannot choose a BookStore). This class should have a composition relationship with the class you create in Part A. Also, this class should contain minimum of 1 custom constructor, 2 fields 2 methods that interact with the composed obiect (such as changing a book title in our class examplel, plus setters and getters as applicable. C. A runner class that will test your program by: Instantiating at least 2 objects from Part B. The objects you crate must be complete such that the composed variables do not contain "null" values. a. b. Calling the two methods that interact with the composed class variables Printing the objects you created with all the information of the fields you created in Parts A and B. c. You can be creative and make an interesting app so long you meet the above two requirements of the question. You may use vour code from the previous homework if vou want
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
