There are three classes: an abstract class House, and two concrete classes, Wooden and Stone.
You must implement the abstract class House with a template method called build() to build a new house using the following algorithm:
- Choose a location
- Place a foundation
- Place walls
- Place windows
- Place doors
- Place roofs
- Connect the house to the electrical grid
The Stone class is already provided. Use it to help you write the abstract methods in the abstract House class.
Make the Wooden class inherit from the House class and implement the methods according to the console output.