Welcome to my Java OOP practice repository! Here, you will find practice code and solutions for various topics related to Object-Oriented Programming (OOP) in Java. The code and explanations are organized based on the following topics:
- Introduction to OOP and Java
- Encapsulation
- Inheritance, Abstract Classes, and Methods
- Interfaces
- Polymorphism
- Exception Handling
To explore the code and solutions, refer to the corresponding Word document provided. Each topic has a dedicated section in the document, containing code snippets, explanations, and answers to practice questions. Simply navigate to the relevant section in the document to find the code and explanations you are looking for.
The repository is structured as follows:
Introductionfolder: Contains code and explanations related to the Introduction to OOP and Java topic.Encapsulationfolder: Includes code examples and explanations for Encapsulation concepts.Inheritancefolder: Contains code snippets and explanations for Inheritance, Abstract Classes, and Methods.Interfacesfolder: Includes code examples and explanations for Interfaces in Java.Polymorphismfolder: Contains code snippets and explanations for Polymorphism concepts.Exception Handlingfolder: Includes code examples and explanations for Exception Handling in Java.
Feel free to navigate through the folders and explore the code files to enhance your understanding of Java OOP concepts.
I encourage you to provide feedback, suggestions, and improvements for the code and explanations. If you have any questions or would like to contribute by adding your own practice solutions, please feel free to reach out to me.
This project is licensed under the MIT License.
Happy coding! 🚀
- Introduction to OOP and Java
- Encapsulation
- Inheritance, Abstract Classes and Methods
- Interfaces
- Polymorphism
- Exception Handling
- Collections Framework
- Generics
- Multithreading and Concurrency
- File Handling and IO
- Java 8 Streams Lambdas Functional Interfaces
- Design Patterns and Expert Mini-Projects
Practical 01 - Introduction to OOP and Java/Practical 02 - Encapsulation/Practical 03 - Inheritance Abstract Classes and Methods/Practical 04 - Interfaces/Practical 05 - Polymorphism/Practical 06 - Exception Handling/Practical 07 - Collections Framework/Practical 08 - Generics/Practical 09 - Multithreading and Concurrency/Practical 10 - File Handling and IO/Practical 11 - Java 8 Streams Lambdas Functional Interfaces/Practical 12 - Design Patterns and Expert Mini-Projects/docs/
Note: 100 practicals, beginner to expert, each with code + viva Q&A. See docs/java_practicals_source.md for the full reference document with explanations.
- Introduction to OOP and Java
- Encapsulation
- Inheritance, Abstract Classes and Methods
- Interfaces
- Polymorphism
- Exception Handling
- Collections Framework
- Generics
- Multithreading and Concurrency
- File Handling and IO
- Java 8 Streams Lambdas Functional Interfaces
- Design Patterns and Expert Mini-Projects
Practical 01 - Introduction to OOP and Java/Practical 02 - Encapsulation/Practical 03 - Inheritance Abstract Classes and Methods/Practical 04 - Interfaces/Practical 05 - Polymorphism/Practical 06 - Exception Handling/Practical 07 - Collections Framework/Practical 08 - Generics/Practical 09 - Multithreading and Concurrency/Practical 10 - File Handling and IO/Practical 11 - Java 8 Streams Lambdas Functional Interfaces/Practical 12 - Design Patterns and Expert Mini-Projects/docs/
Note: 100 practicals, beginner to expert, each with code + viva Q&A. See docs/java_practicals_source.md for the full reference document with explanations.