Java Software Solutions >EX2.15 > Solution

Problem:

Assuming you have a Graphics object called page, write a statement that will draw a line from point (20, 30) to point (50, 60).

Output:

Not Applicable

Solution:

page.drawLine(20,30,50,60);

No comments:

Post a Comment