-
Notifications
You must be signed in to change notification settings - Fork 0
Skill Check 3
Seanti edited this page Mar 26, 2025
·
1 revision
Create a Student Management System that:
-
Uses ArrayList to store students.
-
Uses HashMap to store student grades.
-
Uses OOP (Student class) for student details.
-
Uses a constructor to initialize the
Studentclass. -
Uses loops to allow multiple student registrations.
-
Uses try-catch to handle invalid inputs.
1 - Register Student
2 - Assign Grade
3 - Display Student Details
4 - Exit
Enter your choice: 1
Enter student name: Carla Lopez
Enter age: 20
Enter course: IT
Student Registered Successfully!
1 - Register Student
2 - Assign Grade
3 - Display Student Details
4 - Exit
Enter your choice: 2
Enter student name: Carla Lopez
Enter grade: 90
Grade Assigned Successfully!
1 - Register Student
2 - Assign Grade
3 - Display Student Details
4 - Exit
Enter your choice: 3
Enter student name: Carla Lopez
Name: Carla Lopez
Age: 20
Course: IT
Grade: 90
1 - Register Student
2 - Assign Grade
3 - Display Student Details
4 - Exit
Enter your choice: 4
Exiting program.
✅ ArrayList → Stores multiple students.
✅ HashMap → Stores student grades.
✅ OOP → Uses a Student class.
✅ Constructors → Initializes student objects.
✅ Loops → Allows multiple entries.
✅ Try-Catch → Handles invalid inputs.