Java 2004 — A Tour for the Midrange Developer

G

OOPS — Object-Oriented Programming Systems

Next

Java Support

  • Encapsulation and Abstract Data Types

    • Data Hiding and Loose Coupling
    • Classes and Objects, Attributes ( Data Members ) and Methods
      • All Classes Descend From the Superclass Object
      • Keyword this Refers to Current Object
    • Access — Public, Protected, and Private, Adds Class and Package

  • Inheritance and Programming By Difference

    • Abstract and Concrete Classes Use Keyword extends, Adds Interfaces Using Keyword implements
    • Single Inheritance Model, Keyword super Refers to Immediate Ancestor or Parent
    • Composition and Aggregation

  • Polymorphism and Late Binding

    • Overriding and Overloading

  • Compiler is Aware of and Enforces the Rules


Next