703
edits
No edit summary |
|||
Line 1: | Line 1: | ||
== Code C == | == Code C == | ||
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 240: | Line 239: | ||
} | } | ||
} | } | ||
</source> | |||
== Objekt Ball == | == Objekt Ball == | ||
class Ball { | <source lang="Java">class Ball { | ||
int g1,g2; //Größe | int g1,g2; //Größe | ||
Line 273: | Line 273: | ||
} | } | ||
} | } | ||
</source> |
edits