Hello,
Ho to do that. How to display that liquid?
I create new objects in Solution class, and output is ok, but not meet requirements.
package pl.codegym.task.task15.task1530;
/*
Metoda szablonowa
*/
public class Solution {
public static void main(String[] args) {
DrinkMaker tea = new TeaMaker();
DrinkMaker latte = new LatteMaker();
}
}