<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
//C05Exer1.java
/** this java class users ArrayList without an explicit import 
statement
  * @author Suzanne M. John
  * @author sjohn.tivoli.com
  * @version Java2 1.3
  * @see classname C05Exer1
 */
 
package suepackage1;             
             
 public class  C05Exer1 {
   C05Exer1() {
   // create an array list object with by using its full path name versus 
   // an import statement
  java.util.ArrayList newArray = new java.util.ArrayList();   
  System.out.println("Just created a new array list");
      } // end of constructor without parameters
      
/** Sole entry point to class &amp; application
   * @param args array of string arguments which is not used
   * @return No return value
   * @exception exceptions No exceptions thrown
  */
public static void main (String args[]) {

C05Exer1 al = new C05Exer1();  // create a C05Exer1 object
}  // end of main

}  // end of class   C05Exer1
      
</pre></body></html>