This is a simple Student Management System built using Core Java. It allows users to perform basic CRUD operations on student data using a text file for data persistence.
- Add a new student
- View all students
- Search for a student by ID
- Update student information
- Delete a student
- Data is saved in a local text file (
students.txt)
- Java (Core)
- File Handling (using
FileWriterandBufferedReader) - Scanner for user input
- No external libraries/frameworks used
StudentManagementSystem/ ├── Main.java ├── Student.java ├── StudentManager.java └── students.txt ← (Auto-generated after running the app)
git clone https://github.com/Aarohisingh09/student-management-system.git
cd student-management-system
Compile the project:
javac Main.java
Run the project:
java Main
Sample Run:
Student Management System
1. Add Student
2. View All Students
3. Search Student by ID
4. Update Student
5. Delete Student
6. Exit
Data Storage
Student information is stored in a plain text file named students.txt.
Each student's details — including their
ID, name, and age — are saved sequentially,
separated by lines to keep the data organized and easy to read or modify.
Author
Made with ❤️ by Aarohi Singh