APPM 2710 Java I  Previous SlideNext Slide


public class Example{

   public static void main(String args []) {


      PC mySystem = new PC("Dell", 600, "WindowsNT", "Intel");
      mySystem.print();

      PC schoolSystem = new PC();
      schoolSystem.print();

      Student a = new Student("Ali");
      System.out.println(a.getName());
      a.studentComputer.print();



   }
}