package lab2_factory_method.ex2; public class WoodHouse extends House { @Override public void buildHouse() { System.out.println("Building a wooden house"); } @Override public void calculatePrice() { System.out.println("Mid range wooden chalet"); } }