Question: Given two points in an applet represented by the four int variables x1, y1, x2 and y2, write a paint method to draw a line
Given two points in an applet represented by the four int variables x1, y1, x2 and y2, write a paint method to draw a line between the two points and write the location of the two points next to the two points.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
