Question: of 2 va class called Book and a main closs called TestBook that implements and oollowing class diagram. You may only include the instance variables
of 2 va class called Book and a main closs called TestBook that implements and oollowing class diagram. You may only include the instance variables and methods dhow in the class diagram. Your program should be called TestBeok.java Your test program output should look as follors: Book 0bject 1 Title: Ulysses Author: James Joyce Year: 1921 Book Object 2 Title: Dracula Author: Bram Stoker Year: 1897 Question 2 Write a Java class called Coerse and a main class called TestCeurse that implemeens and tests the following class diagram. You may only inclode the instance variables and methods shown in the class diagram. Yoest peogram should be called Test Courne.java. Your test program eutput shoeld look as follows
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
