SoftwareEngineeringCourse-Java/src/lab6_template_method/ex1/HellsKitchen.java

33 lines
645 B
Java
Raw Normal View History

2024-10-14 07:39:40 +00:00
package lab6_template_method.ex1;
public class HellsKitchen extends Restaurant {
public HellsKitchen(String name) {
super("HK " + name);
}
@Override
public void prepareVegetables() {
log("Preparing nice salad");
}
@Override
public void prepareMainMenu() {
log("Creating flavorful dish");
}
@Override
public void prepareCheese() {
log("Preparing finest cheese");
}
@Override
public void prepareDessert() {
log("Giving birth to awesome dessert");
}
@Override
public void prepareCoffee() {
log("Brewing the best coffee");
}
}