703
edits
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
== Code B == | == Code B == | ||
Ball[] ball = new Ball[15]; | <source lang="Java">Ball[] ball = new Ball[15]; | ||
int a,b,c; //Abstände der Ebenen | int a,b,c; //Abstände der Ebenen | ||
Line 226: | Line 226: | ||
} | } | ||
} | } | ||
</source> | |||
== Objekt Ball == | == Objekt Ball == | ||
class Ball { | <source lang="Java">class Ball { | ||
int g1,g2; //Größe | int g1,g2; //Größe | ||
Line 259: | Line 260: | ||
} | } | ||
} | } | ||
</source> |
edits