Close
Register
Close Window

Masters of Engineering Bridge Course

Chapter 7 Testing and Exceptions

Show Source |    | About   «  7.3. Objects, Enums, and UML Diagrams   ::   Contents   ::   7.5. Unit 7 Lab 1 Placeholder  »

7.4. More on Polymorphism

7.4.1. Objectives

  • Review Java Interfaces and Abstract Classes

  • Review Inheritance and Composition

  • Review Overloading and Overriding

  • Review Reference Variables

  • Apply Typecasting

7.4.2. Polymorphism Measurable Interface

7.4.2.1. [7:23] The Measurable Interface

Video Slides 7.4.1.1-JavaOOPPolyMeasurable.pdf

7.4.2.2. Code Examples

Try It Yourself

In Eclipse, use the Project > Download Assignment… menu command to download the lab project named “ex7.4.1.2-MeasurableInterface”.

Refer to 01.02: Lab: LightBot for Beginners if you need to review the instructions for downloading Eclipse projects.

7.4.3. Checkpoint 1

7.4.4. Programming Practice: Polymorphism 1

7.4.5. Polymorphism Computer Superclass

7.4.5.1. [12:09] The Computer Superclass

Video Slides 7.4.4.1-JavaOOPPolyComputer.pdf

7.4.6. Checkpoint 2

7.4.7. Polymorphism Integer Example

7.4.7.1. [7:40] Java Polymorphism Integer Example Video

Video Slides 7.6.4.1-JavaOOPPolyInteger.pdf

7.4.8. Checkpoint 3

7.4.9. Programming Practice: Polymorphism 2

   «  7.3. Objects, Enums, and UML Diagrams   ::   Contents   ::   7.5. Unit 7 Lab 1 Placeholder  »

nsf
Close Window