Welcome to the S3 Object-Oriented Programming in Java Lab Programs Repository!
This repository houses Java programs developed during the Object-Oriented Programming with Java (24SJPBCST304) lab course in the third semester of the Computer Science Engineering Program at SJCET, Palai.
Each .java file represents a lab assignment aligned with the 24SJPBCST304 program syllabus. Filenames are descriptive for easy navigation, for example:
📁 S3-Java
├── HelloJava.java
├── BookStore.java
├── Days.java
├── ECommerceApp.java
├── Odd.java
├── Polymorphism.java
└── README.md # Repository documentation
- ✅ Beginner‑friendly Java implementations with helpful comments
- 🧠 Full coverage of OOP concepts—inheritance, polymorphism, abstraction, encapsulation
- 🔧 Practical exercises in exception handling, file operations, and threads
- 📚 Topics aligned with 24SJPBCST304 lab requirements
According to 24SJPBCST304 syllabus, this lab covers:
- Core Java programming and control structures
- Object-oriented principles: classes, objects, inheritance, polymorphism, interfaces, abstract classes
- Method overloading and overriding, constructor use
| 📄 File Name | 📝 Description |
|---|---|
HelloWorld.java |
Prints "Hello Java" |
BookStore.java |
Program that manages book-related operations |
Days.java |
Checks if strings or numbers are palindromes. |
ECommerceApp.java |
Demonstrates method overloading in a simple Java e-commerce application. |
Polymorphism.java |
Demonstrates abstract class Shape and polymorphic subclasses like Rectangle, Triangle. |
Odd.java |
Prints all odd numbers from 1 to 49. |
| … and more: |
- Language: Java (compatible with Java 8+ and higher JDKs)
- Development Tools: Any Java IDE or text editor (IntelliJ IDEA, Eclipse, VS Code)
- ✨ Improved program documentation and consistent naming conventions
- 📝 Added detailed in-line comments and usage guidelines
- 🗂️ Organized folder structure by program category
-
Clone the repository:
git clone https://github.com/joshilsabraham/S3-Java.git
-
Navigate into the project directory:
cd S3-Java -
Compile and Run any program:
javac HelloWorld.java java HelloWorld
A sincere thank you to Sarju Sir for his guidance, expertise, and motivation throughout this lab series. Your teaching has truly inspired this repository. 🙏
This repository is intended strictly for educational use. Feel free to study, modify, and build upon these programs—just please give proper credit. 🌟
Explore the examples, tinker with them, and enjoy mastering Java OOP! If this helped you, consider ⭐ starring the repo or contributing your own examples.