Answered step by step
Verified Expert Solution
Question
1 Approved Answer
java please Assignment #10a - Writing a basic class You are going to write a class called Book. It will have the following properties: -
java please
Assignment \#10a - Writing a basic class You are going to write a class called Book. It will have the following properties: - title - a String - author-a String - Publisher - a String - year (of publication) - an integer - ISBN - a String All the properties are public The class will have: - a default constructor - setting the Strings to a single blank space - a conversion constructor - setting the properties to specified values - a copy constructor setting the properties to those of another object of this class. There will also be two other methods: - equals() - which returns true if the object has the same values as the other object's properties - toString () - returns a string with the object's properties' values Write a separate class with a main() method which uses the Book class Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started