Question: Java programming Write a graphics program to draw a circle (diameter-50) and square (length-25) in the middle of the screen, assume that the size of
Java programming Write a graphics program to draw a circle (diameter-50) and square (length-25) in the middle of the screen, assume that the size of the screen is given when the window is initialized. (15 pts.) import acm.program.* import java.awt.Color; import acm.graphics. public class DrawShapes extends GraphicsProgram public void run) ( //method to initialize the window public void init() (
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
