Java Project Assignments
Submit your assigned Java project (with OOPs, Exception Handling, and CLI
interface) by Monday, 1st September 2025.
🔹 Add a Menu in Every Java Project
1. Decide features → list main functions your program should offer.
2. Show menu → print numbered options for those functions + an Exit option.
3. Get user choice → take input from the user.
4. Handle choice → use conditions/switch to run the correct function.
5. Loop back → repeat the menu until Exit is chosen.
6. Exit cleanly → close resources and end the program.
1. Saurav – Library Management System
Core Classes: Book , Member , Library , Transaction .
Features:
Add/remove/search books by title, author, or ISBN.
Borrow/return books with due date & late fee calculation.
Maintain transaction history.
Java Project Assignments 1
OOP Use:
Book subclasses: EBook , PrintedBook .
Member subclasses: Student , Teacher .
Exceptions: BookNotAvailableException , LateReturnException .
2. Rahul (Oxford) – Online Food Ordering System
Core Classes: FoodItem , Order , Customer , Restaurant .
Features:
Customers browse restaurants & place orders.
Calculate total bill, apply discounts.
Cancel/track order.
OOP Use:
Interface Deliverable implemented by Order .
Polymorphism: different food item pricing ( Veg , NonVeg ).
Exceptions: InvalidOrderException , PaymentFailedException .
3. Nitish – Student Report Card System
Core Classes: Student , Subject , ReportCard .
Features:
Enter marks for subjects, calculate GPA & grades.
Store multiple semesters.
Generate report in text file.
OOP Use:
Abstract Person → Student , Teacher .
Interface GradingSystem .
Exceptions: InvalidMarksException , SubjectNotFoundException .
4. Rahul Mishra – ATM Simulation
Core Classes: ATM , Account , Transaction , Card .
Java Project Assignments 2
Features:
Deposit/withdraw/balance enquiry.
PIN authentication.
Track transaction history.
OOP Use:
Account subclasses: SavingAccount , CurrentAccount .
Interface Authenticatable .
Exceptions: InsufficientBalanceException , InvalidPINException .
5. Rajveer – Employee Payroll System
Core Classes: Employee , Department , Payroll .
Features:
Calculate salary (basic + bonus + overtime).
Store employee details & performance.
Export monthly payroll reports.
OOP Use:
Employee subclasses: Permanent , Contractual .
Polymorphism in calculateSalary() .
Exceptions: InvalidSalaryException , EmployeeNotFoundException .
6. Rajat Kumar – Simple Banking Application
Core Classes: BankAccount , Transaction , Customer .
Features:
Open/close accounts.
Transfer money between accounts.
Track transaction history.
OOP Use:
Interface Transactionable .
Java Project Assignments 3
Encapsulation for account balance.
Exceptions: NegativeAmountException , AccountNotFoundException .
7. Sumit Kumar – Movie Ticket Booking System
Core Classes: Movie , Theatre , Seat , Ticket , User .
Features:
View movies & available seats.
Book/cancel tickets.
Payment & discounts.
OOP Use:
Movie subclasses: 2D , 3D , IMAX .
Interface Payable .
Exceptions: SeatNotAvailableException , InvalidPaymentException .
8. Anshu Raj – Inventory Management System
Core Classes: Product , Inventory , Supplier .
Features:
Add/remove products with stock & expiry.
Auto-low-stock alert.
Supplier order generation.
OOP Use:
Abstract class Product → Electronics , Clothing , Grocery .
Interface Restockable .
Exceptions: OutOfStockException , InvalidProductException .
9. Ravi Kumar – Course Registration System
Core Classes: Course , Student , Registration .
Features:
Register/deregister courses.
Java Project Assignments 4
Check prerequisites.
Generate timetable.
OOP Use:
Course subclasses: TheoryCourse , LabCourse .
Polymorphism in fee calculation.
Exceptions: CourseFullException , PrerequisiteNotMetException .
10. Ranjeet Kumar – Hospital Patient Record System
Core Classes: Patient , Doctor , Appointment , Bill .
Features:
Add patients, assign doctors.
Appointment scheduling.
Billing with insurance option.
OOP Use:
Doctor subclasses: Surgeon , Physician .
Interface Billable .
Exceptions: InvalidAppointmentException , DoctorNotAvailableException .
11. Sudhir Kumar – E-commerce Shopping Cart
Core Classes: Product , Cart , Order , User .
Features:
Add/remove items, calculate total.
Apply coupons/discounts.
Generate invoice.
OOP Use:
Product subclasses: Electronics , Clothes , Grocery .
Interface Discountable .
Exceptions: InvalidQuantityException , PaymentFailedException .
Java Project Assignments 5
12. Bablu – Hotel Room Booking System
Core Classes: Room , Customer , Booking , Payment .
Features:
View rooms (AC/Non-AC, Deluxe).
Book/cancel reservations.
Check-in/check-out.
OOP Use:
Room subclasses: DeluxeRoom , Suite .
Interface Bookable .
Exceptions: RoomNotAvailableException , InvalidBookingException .
13. Shubham Kumar – Online Quiz Application
Core Classes: Question , Quiz , User , Result .
Features:
Attempt quizzes, auto-score.
Timer-based quiz.
Leaderboard system.
OOP Use:
Question subclasses: MCQ , TrueFalse , FillBlank .
Interface Evaluatable .
Exceptions: InvalidAnswerException , TimeOutException .
14. Abhishek Kumar – Flight Reservation System
Core Classes: Flight , Ticket , Passenger , Booking .
Features:
Book/cancel tickets.
Track flight schedules.
Generate e-ticket.
Java Project Assignments 6
OOP Use:
Flight subclasses: DomesticFlight , InternationalFlight .
Interface Reservable .
Exceptions: OverbookingException , FlightNotFoundException .
15. Komal Kumari – Library E-Book Reader
Core Classes: EBook , Reader , Library .
Features:
Open/search e-books.
Bookmark pages.
Track reading history.
OOP Use:
EBook subclasses: PDF , EPUB .
Interface Searchable .
Exceptions: FileNotFoundException , UnsupportedFormatException .
16. Ramjeevan Kumar – Online Banking Loan System
Core Classes: Loan , Customer , BankOfficer .
Features:
Apply for personal/home loan.
EMI calculation.
Approve/reject loan applications.
OOP Use:
Loan subclasses: HomeLoan , CarLoan .
Interface Payable .
Exceptions: LoanRejectedException , InvalidEMIException .
17. Shalu Kumari – School Attendance Management
Core Classes: Student , AttendanceRecord , Teacher .
Java Project Assignments 7
Features:
Mark daily attendance.
Generate monthly report.
Send absence notification.
OOP Use:
Person superclass → Student , Teacher .
Interface Reportable .
Exceptions: InvalidDateException , AttendanceAlreadyMarkedException .
18. Shivam – Bus Reservation System
Core Classes: Bus , Seat , Passenger , Ticket .
Features:
Book/cancel bus seats.
Different bus types (AC/Non-AC, Sleeper).
Generate travel receipt.
OOP Use:
Bus subclasses: Volvo , MiniBus .
Interface Reservable .
Exceptions: BusFullException , InvalidRouteException .
19. Ashish Kumar – Pharmacy Management System
Core Classes: Medicine , Pharmacy , Customer , Invoice .
Features:
Add/remove medicines.
Track expiry & stock.
Generate bills.
OOP Use:
Medicine subclasses: Tablet , Syrup , Injection .
Java Project Assignments 8
Interface Sellable .
Exceptions: ExpiredMedicineException , OutOfStockException .
20. Pradeep Kumar – Music Playlist Manager
Core Classes: Song , Playlist , User .
Features:
Create multiple playlists.
Shuffle/repeat songs.
Save playlist to file.
OOP Use:
Song subclasses: MP3Song , WAVSong .
Interface Playable .
Exceptions: InvalidSongFormatException , PlaylistEmptyException .
Java Project Assignments 9