Question: 1. Write a java program which accepts input from user and draw two lines one in blue color and the other in red color. 2.
1. Write a java program which accepts input from user and draw two lines one in blue color and the other in red color. 2. Write a java program which accepts input from user and draw a square using appropriate vertex and give Green color to the edges. 3. Write a java program which accepts input from user and draw a rectangle using appropriate vertex and give Blue color to the edges. 4. Write a java program which accepts input from user and draw a star using appropriate vertex and give green color to one side and blue color to other side
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
