Array of Buttons
This applet illustrates an array of Java objects, in this case, an array of Buttons. Notice that objects, unlike basic data types such
as int or float,
must be created explicitly with new. So you use new to create both the arary, and the objects you put into the
Here is the Java code for this example.