Week 10 - 17 Thursday

PREP FOR TODAY
read chapter 6 sections 6.1 to 6.3
read     StaticVsOOPClasses.pdf       <<<<<  READ THIS


DEMO PROGRAMS

OOP CLASS describes:  a single Box object
PROGRAM has 1 Box object

GiftBoxProgram      .zip (.java)
uses Box OOP class  (.java see:  BoxUML.pdf
                                                            
in project folder

OOP CLASS describes:  a single BoxNew object
PROGRAM has 3 BoxNew objects

GiftBoxProgram2
   
.zip    (.java)

 uses BoxNew OOP class  (.java)


MethodCalling        .zip    (.java)
uses ClassOfStaticMethods  (.java)
uses OOPClass                    (.java)
 

----------------------------------------------
TASK to do in Lab

OOP CLASS describes:  a single Contact object
PROGRAM has 2 Contact objects called person1 and person2

ContactsProgram.zip  (.java)
   write Contacts OOP class -  see:  ContactUML.txt
                                                           in project folder