You are going to write a class called Book.
It will have the following properties:
title - a Stringauthor - a StringPublisher - a Stringyear (of publication) - an integerISBN - a StringAll the properties are public.
The class will have:
There will also be two other methods:
equals() - which returns true if the
object has the same values as the other object's propertiestoString() - returns a string with the object's properties' valuesWrite a separate class with a main() method
which uses the Book class.