A simple Student Management System built using Core Java that demonstrates CRUD (Create, Read, Update, Delete) operations with file handling.
This project is perfect for beginners to understand Java concepts like classes, objects, collections, and persistence.
- ➕ Add new students
- 📋 Display all students
- 🔍 Search student by ID or Name/Course
- ✏️ Update student details
- ❌ Delete student records
- 📑 Generate student reports
- 💾 Backup and Restore data
- 🧹 Clear all records
- Language: Java
- IDE: IntelliJ IDEA (can also run in Eclipse/VS Code)
- Concepts Used:
- OOPs (Encapsulation, Classes, Objects)
- Collections (
ArrayList
) - File Handling in Java
Student-Management-System-Java/
│
├── src/
│ ├── Main.java # Entry point of the project
│ ├── Student.java # Student class with attributes
│ ├── FileHandler.java # Handles file read/write operations
│ └── Reports.java # Generates reports
│
├── students.txt # Data storage file
├── students_backup.txt # Backup file
└── README.md
- Clone this repository
git clone https://github.com/aashikaj924/Student-Management-System-Java.git
- Open project in IntelliJ IDEA or any Java IDE.
- Run
Main.java
. - Use the menu to perform different operations.
=== Student Management System ===
1. Add Student
2. Display All Students
3. Search Student by ID
4. Search Student by Name/Course
5. Update Student
6. Delete Student
7. Sort Students
8. Generate Reports
9. Backup Data
10. Restore from Backup
11. Clear All Students
12. Exit
Enter your choice:
- Java basics (loops, conditionals, methods)
- OOP concepts
- Working with ArrayList
- File input/output in Java
- Organizing code in multiple classes
- Add a GUI using JavaFX / Swing
- Connect with a Database (MySQL) instead of text files
- Export reports to PDF/Excel
Aashika Jain
📎 GitHub Profile
⭐ If you found this project useful, don't forget to star the repo!