Chapter 23: Problem 10
Class Graphics contains method drawOval, which takes as arguments the same four arguments as method drawRect. The arguments for method drawOval specify the 鈥渂ounding box鈥 for the oval鈥攖he sides of the bounding box are the boundaries of the oval. Write a Java applet that draws an oval and a rectangle with the same four arguments. The oval will touch the rectangle at the center of each side.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.