Week 12 - 21 Tuesday

PREP FOR TODAY
read chapter 8 section 8.3, 8.8 (to top page 532)


DEMO PROGRAMS

PROGRAM has an ARRAY of Package type objects
CLASS describes a single Package type OBJECT

ArrayOfPackages 
           
.zip  (.java)

  uses Package  OOP class  (.java)
-   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

PROGRAM has an ARRAY of Course type objects
CLASS
describes a single Course type OBJECT

ArrayOfCourseObjects      .zip  (.java)
  uses Course OOP class   (.java)
-   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

PROGRAM has an ARRAY of LittlePerson type objects
CLASS describes a single LittlePerson type OBJECT

FillArrOfObjFromFile   .zip         (.java)
  uses LittlePerson          OOP class (.java)
  uses
SortArObj      STATIC class (.java)
   DATA FILE:  LittlePeople.csv  (.txt for Quick reference)
-   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
 
PROGRAM has a single Residents type object
1)  Residents CLASS describes a single Residents type OBJECT
     where the object is implemented as
            an ARRAY of LittlePerson type OBJECTS
            (i.e., the array elements are person objects)
2)  LittlePerson2 CLASS describes a single LittlePerson2 type OBJECT

TwoLevelsOfObjects 
       
.zip           (.java)

  uses Residents                  OOP class  (.java)
  which uses LittlePerson2  OOP class  (.java)
    
DATA FILE:
  LittlePeople.csv  (.txt for Quick reference)


----------------------------------------------
TASK for this week's in-lab exercise

PROGRAM has an ARRAY of Country objects
CLASS describes a single Country type OBJECT

NorthAmericaReport                   .zip   (.java)
     uses Country  OOP class      (.java)
       DATA FILE:  CountryData.csv  (.txt for Quick reference)