This project simulates a student registry using a command prompt for a university demonstrating proper object-oriented design and object-oriented programming principles of Abstraction, Encapsulation, Inheritance, and Polymorphism.
To compile, run in the root directory:
- javac main/.java exceptions/.java
- java main.StudentRegistrySimulator
Commands:
- “L” : list all students
- “Q” : quit
- “REG” : register a student. Reads a student name and student id
- “DEL”: deletes a student from the registry
- “ADDC”: adds a student to an active course
- “DROPC”: drops a student from an active course
- “PAC” : prints all active courses
- “PCL” : prints class list for an active course
- “PGR” : prints student id and grade for all students in an active course
- “PSC” : prints all credit courses for a student
- “SFG” : set final grade of a student in a course
- “SCN” : sort list of students in a course by student name
- “SCI” : sort list of students in a course by student id