The following slides discuss the polymorphism, overloading, and overriding.

Slide 15.1: Polymorphism — Polymorphism.java
Slide 15.2: Polymorphism (cont.): Runtime polymorphism
Slide 15.3: Polymorphism (cont.): An example of runtime polymorphism
Slide 15.4: Polymorphism (cont.): Data members
Slide 15.5: Method overloading
Slide 15.6: Method overloading (cont.): Return type
Slide 15.7: Method overloading (cont.): Type promotion — TypePromotion.java
Slide 15.8: Method overloading (cont.): Overloading the main method
Slide 15.9: Method overriding
Slide 15.10: Method overriding (cont.): Rules
Slide 15.11: Method overriding (cont.): Access modifiers
Slide 15.12: Method overriding (cont.): static methods
Slide 15.13: Method overriding (cont.): Subclasses
Slide 15.14: Method overriding (cont.): Exceptions — ExceptionDemo1.java
Slide 15.15: Method overriding (cont.): Exceptions (cont.)
Slide 15.16: Method overriding (cont.): Multi-level overriding

  ☂ Coding Review

Slide 15.a: A word counter — WordCounter.java



      You are what you eat.