Write a complete class to represent a Building. Define the following properties for the class:
Name of the building
Number of windows
Name of owner
Here are some additional details for your class design:
Use the auto-code generation capabilities in IntelliJ to write all the getters and setters for the class.
Also autogenerate two constructors, one with zero arguments (default constructor) and one with all properties passed as parameters.
Write an equals method that returns true if the name of the two buildings are identical.
Set up the copy constructor to copy all three fields in the clone generated by the constructor.
Create a one-line, descriptive toString method for the Building class.
Use the name of the building to create a hashcode for the building. Hint: The String class already has a hashcode method built in.
In your test code, test all the features listed above.
Be sure to submit a copy of your class code, test code and output on the Google classroom for your teacher to critique. Do this even if you demo the lab in person to your teacher.