Graphic Java
ASSIGNMENT:
Create an applet which draws twenty random shapes (with random colors). Don't worry about the reset functionality.
In order to generate random numbers you must:
Import java.util.*;
Create an instance of the Random class: Random r;
Instantiate this instance: r = new Random();
Generate a random number: int w = Math.abs(r.nextInt()%50) + 5;