Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

🧩 Week 02: Object-Oriented Programming in Java

Welcome to Week 2 of our Java journey! This week dives deep into the core principles of Object-Oriented Programming (OOP) — empowering us to design, build, and manage complex software with ease.


📚 Table of Contents


🧾 Overview

Week 2 covers Object-Oriented Programming essentials — building blocks that let you model real-world entities, reuse code, and create robust applications.


📌 Topics Covered

01 - OOP Fundamentals

  • Understanding classes and objects
  • Key OOP concepts: abstraction, encapsulation, inheritance, polymorphism

02 - Constructors, Variables, Access Modifiers

  • Java constructors explained
  • Difference between instance and class (static) variables
  • Access control using public, private, protected modifiers

03 - this, static, final & instanceof

  • Using the this keyword effectively
  • static variables and methods
  • The final keyword and its uses
  • Understanding and using the instanceof operator

04 - Object Modeling & Class Diagrams

  • Introduction to object modeling techniques
  • Designing class diagrams for better architecture

05 - Inheritance

  • Inheriting properties and methods
  • Using super keyword and method overriding
  • Understanding IS-A relationships

06 - Encapsulation, Interfaces, Abstract Classes & Polymorphism

  • Data hiding with encapsulation
  • Defining and implementing interfaces
  • Abstract classes and methods
  • Polymorphism: compile-time and runtime

💻 Prerequisites

  • Completion of Week 1: Java Basics
  • JDK installed
  • Familiarity with Java syntax and core concepts

📁 How to Use This Repo

  • Review submitted assignments for practice
  • Experiment by extending the examples and applying OOP principles

🔭 Next Steps

After Week 2, we'll be ready to tackle advanced Java concepts like Collections, Exception Handling, and Java I/O.

💡 Mastery of OOP lays the foundation for any serious Java developer!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors