6.2 Make the following improvements/updates to your class youcreated in 6.1
- Use the this reference for all your getter andsetter methods
- Use the this reference in your paremeterizedconstructor
- Make your default constructor call the parameterizedconstructor using the this() method
- Add a public static field called counter to your class. Thiscounter variable should be inialized to 0, and incrementedeverytime an object is created
- Override the toString() method to return aString representation of your object.(One string containing all theobject’s data) Test this method out in the main method
- Override the equals() method. The methodshould return true if the calling object has the same values forall fields of the
OROR