1. Write Java statements to draw an oval whose height is larger than its width.
2. Using the Graphics context pen, write Java statements to display the phrase “ When pigs fly” beginning at point
(x, y) in an 18-point sans serif font.
3. Write a Java statement to change the drawing color to blue.
4. What is the meaning of the arguments in the following Java statement?
Color customColor = new Color(200, 0, 25);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here