Question: 7.32 Book class Make a public class called Book. Do not put this class in any package. Put code for the Book class in Book.java.

7.32 Book class Make a public class called Book. Do not put this class in any package. Put code for the Book class in Book.java. Select Book.java template by selecting from Current file: The class must have 3 private attributes named the following: author, title, pages. You MUST name these attributes as specified and they must be private. Create setters and getters according to the conventions discussed. 380816.1616554.qx3zqy7 LAB ACTIVITY 7.32.1: Book class 0/5 Current file: Main.java Load default template... 1 2 public class Main 3 { 4 5 public static void main(String [] sa) 1/Add code to test your Book class if you like } 7 8 9 10 11 12 )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
