logo

Crowdly

Quelles sont les affirmations correctes par rapport au code Java présenté ci-des...

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

Quelles sont les affirmations correctes par rapport au code Java présenté ci-dessous :

class GraphicObject {

private int x, y;

public void moveTo(int newX, int newY) {

this.x = newX;

this.y = newY;

}

public void draw() { }

}

class Circle extends GraphicObject {

private java.awt.Point radius;

}

class TestGraphicObject {

public static void main(String[] args) {

GraphicObject go = new Circle();

go.draw();

}

}

More questions like this

Want instant access to all verified answers on moodle.univ-lr.fr?

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