A comprehensive collection of Java programs covering fundamental to advanced concepts, designed for academic laboratory exercises and practical assessments.
This repository serves as a centralized resource for Java programming practicals. It includes well-documented source code that demonstrates the implementation of core Java features and Object-Oriented Programming (OOP) principles.
The programs in this repository are organized to cover the following modules:
| Category | Concepts Included |
|---|---|
| Fundamentals | Data types, operators, control structures (if-else, loops), and Scanner-based I/O. |
| OOP Pillars | Class design, object instantiation, encapsulation, and access modifiers. |
| Constructors | Default, parameterized, and copy constructors, and constructor overloading. |
| Inheritance | Single, multi-level, and hierarchical inheritance using the extends keyword. |
| Polymorphism | Compile-time (overloading) and Runtime (overriding) polymorphism. |
| Abstraction | Abstract classes and Interfaces for defining program contracts. |
| Error Handling | Exception hierarchy, try-catch-finally blocks, and custom exceptions. |
| Data Structures | Array manipulation, String handling methods, and the Collections API. |
To run these programs locally, follow these steps:
- Clone the repository:
git clone [https://github.com/Bitttu4/java-practicals-codes.git](https://github.com/Bitttu4/java-practicals-codes.git)