Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Object-Oriented Programming (OOP) Fundamentals

Header Image

  1. Classes and objects
    • This article teaches how to define classes, create objects, work with class members (fields and methods), and utilize constructors in Java, all while following a pirate-themed adventure to make learning more enjoyable and approachable.
  2. Methods (instance methods and class/static methods)
    • This article navigates through the concepts of instance methods, static methods, method overloading, and method overriding in Java, using pirate-themed examples and stories to make the content approachable and enjoyable.
  3. Encapsulation and access modifiers (public, private, protected)
    • Discover the secrets of encapsulation, access modifiers, and the use of getters and setters in Java to keep your code shipshape and treasure secure, all with a touch of pirate-themed humor and storytelling.
  4. Inheritance and polymorphism
    • This article explores the concepts of inheritance, polymorphism, and abstract classes in Java, using a pirate-themed narrative to make the topics more engaging and relatable.
  5. Abstract classes and interfaces
    • In this pirate-themed adventure, we explore the concepts of abstract classes and interfaces in Java, diving into their definitions, differences, and usage to help you conquer the high seas of object-oriented programming.

Table of contents