Instructions:
1. Using any application of your choice, write a Java program that meets the following
requirements:
a. In it, you have a Building class and two subclasses called House and School;
b. The Building class contains fields for square footage and stories;
c. The House class contains additional fields for number of bedrooms and number of
bathrooms;
d. The School class contains additional fields for number of classrooms and grade level;
e. All the classes contain appropriate get and set methods.
2. Place the Building, House and School classes in a package named com.course.buildings.
3. Create an application that declares objects of each type and uses the package.
4. Save your program and compile and run it until it is working correctly.