This repository contains my complete solutions for Part II: Object-Oriented Programming (Chapters 9–13, and 17) from
📘 Introduction to Java Programming and Data Structures, Comprehensive Version (Global Edition, 11th Edition)
by Y. Daniel Liang — a foundational and globally recognized textbook for mastering Java and OOP principles.
The purpose of this repository is to demonstrate a deep and practical understanding of Object-Oriented Programming (OOP) in Java.
Each exercise is implemented from scratch, with attention to clean code, modularity, and real-world design practices.
This collection serves as both a learning portfolio and a solid reference for fundamental Java programming and OOP techniques.
-
Chapter 9: Objects and Classes
Defining classes, constructors, encapsulation, static members, thethisreference, and arrays of objects. -
Chapter 10: Object-Oriented Thinking
Class abstraction, relationships between classes, wrapper classes, and immutability. -
Chapter 11: Inheritance and Polymorphism
Superclass–subclass relationships, method overriding, dynamic binding, and theArrayListclass. -
Chapter 12: Exception Handling and Text I/O
Exception hierarchy, custom exceptions, file handling, and text input/output. -
Chapter 13: Abstract Classes and Interfaces
Abstract methods, interfaces (Comparable,Cloneable), and design best practices. -
Chapter 17: Binary I/O
Binary file operations, integration with OOP for efficient data persistence.
Through solving these exercises, I strengthened my understanding of:
- Designing with abstraction, encapsulation, inheritance, and polymorphism
- Writing robust and maintainable Java code
- Applying SOLID principles and clean code practices
- Exception handling and file I/O operations
- Designing reusable and extensible object-oriented systems
- Java SE 11+ 17 + 21
- IntelliJ IDEA / Netbeans
- Git & GitHub
- Command Line (javac / java)
Last Updated: October 11, 2025
⭐ Star this repo if it helps your Java journey! 🚀