Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test {
- public static void main(String[] args) throws IOException {
- Rechteck r1 = new Rechteck(20, 20,100,100);
- Linie l1 = new Linie(30,30,80, 60);
- Kreis k1 = new Kreis(50,50,20);
- Figur f1;
- Rechteck r2;
- Vector<Figur> figuren = new Vector<Figur>(); //public machen in Zeichnung?!?
- //Figuren zu Vector
- figuren.add(l1);
- figuren.add(r1);
- figuren.add(k1);
Add Comment
Please, Sign In to add comment