SoftwareEngineeringCourse-Java/src/lab6_template_method/ex1/HellsKitchen.java
2024-10-14 09:43:32 +02:00

33 lines
645 B
Java

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");
}
}