A console-based Student Management System built with Core Java, demonstrating object-oriented programming (OOP) concepts such as classes, encapsulation, and collections.
- Add new student records (roll number, name, department, marks in 5 subjects)
- View all student records
- Search for a student by roll number
- Update a student's marks
- Delete a student record
- Automatic calculation of total marks, percentage, and grade
- Core Java
- Object-Oriented Programming (encapsulation, classes, methods)
- ArrayList for in-memory storage
- Scanner for user input
student-management-java/
├── Student.java # Student model class
└── StudentManagementSystem.java # Main application with menu-driven logic
- Make sure the Java Development Kit (JDK) is installed.
- Open a terminal in this project folder.
- Compile the files:
javac Student.java StudentManagementSystem.java - Run the program:
java StudentManagementSystem
===== STUDENT MANAGEMENT SYSTEM =====
1. Add Student
2. View All Students
3. Search Student by Roll Number
4. Update Marks
5. Delete Student
6. Exit
| Percentage | Grade |
|---|---|
| 90 - 100 | A+ |
| 80 - 89 | A |
| 70 - 79 | B |
| 60 - 69 | C |
| 50 - 59 | D |
| Below 50 | F |
- Persist data using file I/O or a database (JDBC + MySQL)
- Add input validation and exception handling for edge cases
- Build a GUI using JavaFX or Swing