Week 12 - 22 Thursday


PREP FOR TODAY
read sections  8.5, 8.6, 8.8 (page 532)

 

PROGRAM EXAMPLES

PROGRAM declares an array of country objects
OOP CLASS describes one country object

SortSearchArrayOfObj                   .zip     (.java)
    uses OneCountry       OOP class    (.java)
    uses SortArrOfObj      STATIC class  (.java)
    uses SearchArrOfObj  STATIC class   (.java)
           DATA FILE: Clean5ColWorldData.csv   (.txt for quick reference)
-   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
   -   -   -   -   -   -

PROGRAM declares ONE people object
LEVEL
1 - people object    (array)               = PersonArray  class type
LEVEL 2 - person objectS (array elements) = Person          class type
 

TwoLevelsAddSorts                   .zip     (.java)     
    uses PersonArray      OOP class  (.java)
    uses Person              OOP class  (.java)
 
   uses SortArray       STATIC class  (.java)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

DebugSwitch.zip    (.java)
 

-----------------------------------------------------------

TASKS to do on your own by Tuesday's lecture

TryDebugAndLog.txt
    along with TraceThis.zip    (.java)
-   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

OOP CLASS describesa single IPad object
PROGRAM has 1 IPad object which is RE-USED for each record

IPadProgram
.zip         (.java)
  uses IPad  OOP class  (.java)
 
DATA FILE:  IPads.csv (.txt for quick reference)