You saw an example of implementing an interface in the previous lesson. You can read more about interfaces here—what they are for, why you might want to write one, and how to write one.

  1. Inheritance

    Creating classes that derive from other classes, inheriting fields and methods from those classes.

  2. Overriding and Hiding Methods

    Overriding instance methods in a subclass.

  3. Polymorphism

    Choosing the right method to execute at run time.

  4. Object as a Superclass

    Listing the methods from the Object class.

  5. Abstract Methods and Classes

    Sharing common methods between classes with abstract classes.

Back to Tutorial List