Question: Java Part 1. Write a graphics program to display a square containing a circle. Make the diameter of the circle and the length of the
Java
Part 1.
Write a graphics program to display a square containing a circle. Make the diameter of the circle and the length of the squares side equal, so that the circle just touches each side of the square. Use one color to fill the circle, and another color for the part of the square not covered by the circle.
Part 2.
Write a program that displays a bulls-eye pattern with a circle in the middle and five (5) concentric circles around it. Fill the circles with alternating colors of your choice.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
