Lab assignments for the Object-Oriented Programming subject
📍 Dr. D. Y. Patil Institute of Technology, Pimpri, Pune
🎓 Department of AI & Data Science | Semester 5
| # | Folder | Concept Covered |
|---|---|---|
| 1 | SingleInheritance |
Inheritance — parent-child class relationship |
| 2 | AbstractClass |
Abstract classes and method overriding |
| 3 | InterfacePolymorphism |
Interfaces and runtime polymorphism |
| 4 | MethodOverloading |
Compile-time polymorphism via method overloading |
| 5 | MultiThreadedChat |
Multithreading — concurrent execution in Java |
| 6 | Arrays |
Array operations and manipulation |
| 7 | ATMSimulation |
OOP design — real-world ATM system simulation |
| 8 | E-Commerce |
OOP design — E-commerce model using classes |
| 9 | calculator |
Basic calculator using OOP principles |
- Inheritance — Single, multilevel class hierarchies
- Polymorphism — Method overloading and interface-based runtime polymorphism
- Abstraction — Abstract classes with partial implementation
- Encapsulation — Data hiding using access modifiers
- Multithreading — Thread creation, synchronization, and concurrent chat simulation
- Real-world OOP design — ATM and E-Commerce systems modeled using Java classes
Make sure you have Java JDK 8+ installed.
# Navigate into the folder
cd FolderName
# Compile the file
javac FileName.java
# Run the program
java FileNameExample:
cd SingleInheritance
javac SingleInheritance.java
java SingleInheritance- Language: Java
- IDE Used: Eclipse / VS Code
- JDK Version: Java 8+
Sameer Akhil Talekar
AI & Data Science Engineering Student
Dr. D. Y. Patil Institute of Technology, Pimpri, Pune
📌 These programs were written as part of college lab assessments for the OOP subject.
Feel free to use them for learning and reference purposes.