Question: Create 2 Field: private String title, private String author, and a constructor The fields should be initialized in the constructor and the constructor should look
Create Field: private String title, private String author, and a constructor
The fields should be initialized in the constructor and the constructor should
look like this public BookString title, String author
Add getter and setter for all the fields.
Add a method called public void printBookInfo that prints out the
title, and author of the Book.
Create another class called Library with Field: private String libraryName, private HashMapdarr
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
