public class Haromszog implements Alakzat { public void rajzol() { System.out.println("A"); } }