Skip to content

Courses

0/36 lessons · 0% complete

— XP

Java

Java OOP

Master Object-Oriented Programming in Java by building, testing and analyzing real code.

0% complete
Lessons
36
Time
12h 25m
XP
1.9k
Mastery
0%
00

Module 0

Prerequisites

The Java you need before OOP

Variables, types, if/else, loops, methods and arrays. Short, practical, and only the parts the OOP modules actually depend on.

0%

0/3 lessons

01

Module 1

Introduction to OOP

Why objects exist, and what they really are

The problem with procedural code, what an object is, what a class is, and the difference between state and behaviour — with Car, Student, BankAccount and Phone examples.

0%

0/4 lessons

02

Module 2

Classes & Objects

Write your own types and bring them to life

Declaring classes, fields and methods, creating objects with new, understanding references, and managing many objects at once.

0%

0/4 lessons

03

Module 3

Constructors

No object should be born incomplete

Constructor syntax, the invisible default constructor, parameterised constructors, `this`, overloading and chaining.

0%

0/2 lessons

04

Module 4

Encapsulation

Stop trusting everyone with your data

Why public fields are dangerous, how `private` + getters/setters + validation keep an object always valid, and what data hiding buys you.

0%

0/2 lessons

05

Module 5

Access Modifiers

Four levels of 'who is allowed in'

public, protected, package-private and private — the full visibility matrix, with practical 'is this access allowed?' drills.

0%

0/1 lessons

06

Module 6

Inheritance

Write the shared behaviour once

extends, parent and child classes, what is (and is not) inherited, IS-A vs HAS-A, and the constructor chain with super.

0%

0/2 lessons

07

Module 7

Method Overriding

Same call, different behaviour

Redefining an inherited method, the exact rules the compiler enforces, @Override, and why `Animal a = new Dog(); a.sound();` runs the Dog version.

0%

0/2 lessons

08

Module 8

Polymorphism

Write code once, let new types plug in

Compile-time vs runtime polymorphism, dynamic method dispatch, the anatomy of `Animal animal = new Dog();`, upcasting, downcasting and instanceof.

0%

0/2 lessons

09

Module 9

Method Overloading

One name, several ways to call it

Overloading by number, type and order of parameters, why the return type alone is not enough, and the full overloading vs overriding comparison.

0%

0/2 lessons

10

Module 10

Abstraction

Declare what must happen, let each child decide how

Abstract classes and abstract methods: share the code that is common, force every subclass to supply the part that is unique, and make impossible objects impossible to create.

0%

0/2 lessons

11

Module 11

Interfaces

Contracts that any class can sign

The interface keyword, implements, interface references and polymorphism, interface constants, multiple interfaces, default/static/private methods, and interface vs abstract class.

0%

0/3 lessons

12

Module 12

OOP Relationships

How objects are wired together

IS-A vs HAS-A, association, aggregation and composition with runnable Java, plus the reasoning behind 'favor composition over inheritance'.

0%

0/3 lessons

13

Module 13

Final Project: Bank Management System

Every concept, one system, four stages

Build Customer, Account, SavingsAccount, CurrentAccount, Transaction and Bank step by step — each stage adds only concepts you have already mastered.

0%

0/4 lessons