1. What is the difference between the two Graphics methods drawPolygon and drawPolyline?
2. Consider a square whose side has a length of 100 pixels.
a. What are the coordinates of the square’s vertices?
b. What Java statements define parallel arrays that represent the vertices of this square?
c. What Java statements define an array of Point objects that represents the vertices of this square?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here