PPT Slide
HEADING:
// Draw a line from point (x1,y1) to
// point (x2,y2)
public void drawLine
(int x1, int y1, int x2, int y2)
CALL:
drawLine(3, 5, 1, 1);
COMMAND TO BE EXECUTED:
Draw a line from point (3, 5) to
point (1, 1).
Previous slide
Next slide
Back to first slide
View graphic version