Problem
Code a JAVA a class named Building; and two subclasses: House and School. The Building class contains fields (attributes) for square footage and stories. The House class contains additional fields for number of bedrooms and baths. The School class contains additional fields for the number of classrooms and grade level (for example, primary or junior high).
All the classes contain appropriate getter and setter methods.
Place the Building, House, and School classes in a package named com.buildings.course.
Create an application that instantiate objects of each type and uses the package.