Skip to content

Sameer0726152/Java-Practicals

Repository files navigation

☕ Java OOP Lab Practicals

Lab assignments for the Object-Oriented Programming subject
📍 Dr. D. Y. Patil Institute of Technology, Pimpri, Pune
🎓 Department of AI & Data Science | Semester 5


📂 Repository Structure

# 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

🧠 Concepts Demonstrated

  • 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

▶️ How to Run

Make sure you have Java JDK 8+ installed.

# Navigate into the folder
cd FolderName

# Compile the file
javac FileName.java

# Run the program
java FileName

Example:

cd SingleInheritance
javac SingleInheritance.java
java SingleInheritance

🛠️ Tech Stack

Java

  • Language: Java
  • IDE Used: Eclipse / VS Code
  • JDK Version: Java 8+

👨‍💻 Author

Sameer Akhil Talekar
AI & Data Science Engineering Student
Dr. D. Y. Patil Institute of Technology, Pimpri, Pune

GitHub


📌 These programs were written as part of college lab assessments for the OOP subject.
Feel free to use them for learning and reference purposes.

About

A repository for JAVA codes used in practical for Object Oriented Programming Labs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages