Question: Create a new Java class named Book that has the following fields: isnb - The International Standard Book Number is a unique numeric commercial book
Create a new Java class named Book that has the following fields: isnb - The International Standard Book Number is a unique numeric commercial book identifier. A valid isbn number must be 13 digits length. Otherwise, assign default value: "0000000000000" title - book title authors- authors list (Use String) In addition, the Book class should have the following methods. Constructor - The constructor should accept the isbn, title, and authors list (String array) All get and set methods Part II: Write driver (tester) class named BookTester.java that uses your Book class: 1. create a new Book object 2. printout book information as follows: Title: Java Programming ISBN: 1234567891236 Authors: Steve Davis and John Kanet
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
