logo

Crowdly

Le code Java suivant ne se compile pas correctement... abstract class GraphicOb...

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

Le code Java suivant ne se compile pas 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();

}

class Circle extends GraphicObject {

private java.awt.Point radius;

public void draw(java.awt.Graphics g) {

// draw the circle...

}

}

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!