logo

Crowdly

Le code Java suivant se compile correctement : abstract class GraphicObject { ...

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

Le code Java suivant se compile correctement :

abstract class GraphicObject {

private int x, y;

public void moveTo(int newX, int newY) {

this.x = newX;

this.y = newY;

}

public abstract void draw();

}

abstract class Circle extends GraphicObject {

private java.awt.Point radius;

public void draw() {

// draw the circle...

}

}

0%
0%
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!

Browser

Add to Chrome