Java Software Solutions >EX2.17 > Solution

Problem:

Assuming you have a Graphics object called page, write a statement that will draw a circle centered on point (50, 50) with a radius of 20 pixels.

Output:

Not Applicable

Solution:

page.drawOval(30,30,40,40);

No comments:

Post a Comment