Question: a. Given two points in an applet represented by the four int variables a1, b1, a2 and b2, write a paint method to draw a
a. Given two points in an applet represented by the four int variables a1, b1, a2 and b2, write a paint method to draw a yellow line between the two points and write the location of the two points next to the two points.
Note: Must use Java Language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
