◀
Previous |
§ Class Slides 12: Classes and Objects (Cont.) Class Slides 11: Classes and Objects Class Slides 13: Inheritance and Association Home |
▶
Next |
The following slides continue discussing classes and objects.
Slide 12.0: Programming Exercise IV: My grocery shopping (finding prices) Slide 12.1: Classes and objects Slide 12.2: Classes and objects (cont.) Slide 12.3: Attributes Slide 12.4: Constructors Slide 12.5: Constructor overloading — Student.java Slide 12.6: Access modifiers for classes Slide 12.7: The public keyword for classes — OnePublicClass.java & TwoPublicClass.java Slide 12.8: Member methods Slide 12.9: Accessing methods — Car.java Slide 12.10: Access modifiers for methods and attributes — MyClass.java Slide 12.11: The static attributes — StaticAttribute.java & ClassAttribute.java Slide 12.12: Passing parameters — Swap1.java & Swap2.java Slide 12.13: Arguments — AddEvenValues.java & FindMax.java Slide 12.14: The void keyword — ExampleVoid.java Slide 12.15: The this keywordSlide 12.16: Method overloading — Overloading.java
Slide 12.a: Another constructor overloading example — Person.java Slide 12.b: Calling one constructor from another — Two.java |
“For I will wear my heart upon my sleeve, For daws to peck at.” — Shakespeare, Othello |