#OOP

Object oriented programming concepts.

12 notes tagged

Java

Polymorphism in Java

One reference type, many possible behaviours. Polymorphism is what lets code work with a supertype and stay correct as new subtypes appear.

Read more
Java

Inheritance in Java

Inheritance lets a subclass acquire the members of a superclass, creating an is-a relationship that polymorphism is built on.

Read more