//Ball1 //illustrates object oriented thinking // The simplest version of the ball program. import java.awt.*; import java.applet.*; public class Ball1 extends Applet{ int size; Color color; public void paint(Graphics g){ g.fillOval(10,10,20,20); } }// end class definition