logo

Crowdly

Gegeben ist folgender Programmcode: Rectangle[] rechtecke = new Rectangl...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Gegeben ist folgender Programmcode:

Rectangle[] rechtecke = new

Rectangle[10];

rechtecke[0] =

new

Rectangle(15, 15, 20, 10);

rechtecke[1] =

new

Rectangle(10, 10, 30, 20);

rechtecke[2] =

new

Rectangle(5, 5, 40, 30);

Ändere die Größe des ersten Rechtecks mit Hilfe der folgenden Methode auf Breite 15 und Höhe 5.

void setSize(int width, int height)
Sets the size of this Rectangle to the specified width and height.

More questions like this

Want instant access to all verified answers on elearning.tgm.ac.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!