🎓 Student Database Management System
A simple, console-based Java application that allows users to manage student records using basic CRUD operations. This project demonstrates how to build an interactive student information system using Object-Oriented Programming (OOP) and Java Collections.
📌 Features
- ✅ Add Student – Add a student with ID, Name, Age, and Course.
- 👁️ View All Students – Display all stored student records.
- ✏️ Update Student – Modify existing student data using ID.
- 🗑️ Delete Student – Remove a student by ID.
- 🔍 Search Student – Find and display student details using their ID.
- 🚪 Exit – Close the application safely.
🛠️ Technologies Used
- Java
- HashMap (Java Collections Framework)
- Scanner (for input handling)
- Object-Oriented Programming (OOP)
🧠 Learning Outcomes
- Understanding of OOP concepts: Classes, Objects, Encapsulation.
- Usage of
HashMap
for efficient data storage and retrieval.
- Implementation of a menu-driven interface in Java.
- Handling user input with validation using the
Scanner
class.
- Building console applications with real-world utility.
🚀 Getting Started
Prerequisites
- Java JDK installed
- Code Editor or IDE (VS Code, IntelliJ IDEA, etc.)
How to Run
-
Clone the repository:
git clone https://github.com/yourusername/StudentDatabaseManagement.git
-
Navigate to the project folder:
cd StudentDatabaseManagement
-
Compile the code:
javac StudentManagementSystem.java
-
Run the program:
java StudentManagementSystem
📝 Sample Output
— Student Management System —
- Add Student
- View All Students
- Update Student
- Delete Student
- Search Student
- Exit
Enter your choice: 1
Enter ID: 101
Enter Name: Alice
Enter Age: 20
Enter Course: Java Programming
✅ Student added successfully!