Write a Java program which will store, manipulate, and print student registration information. As part of the solution, identify the following classes:

  • Student
  • Admissions

The class Student must have the following fields – Name, Address, Id number, Courses, and Date, where:

  • Name is a user defined class comprising of at minimum first name and last name.
  • Address is a user defined class comprising of fields - street, city, state, and zip code.
  • Date is a predefined class in the java.util package
  • The field Courses is a set of no more than five (5) string values representing the courses being registered for. Course names must not contain any blank space, for instance COP3804 is valid but not COP 3804.
  • Id number a string variable that uniquely identifies a student.
  • The class Student must be capable of adding courses and dropping courses

The class Admissions stores and manipulates the student information (student record). Because the list of students grows dynamically, it is best to use a dynamic data structure such as the ArrayList to store the information. This class should do the following, among other possible activities:

  • Add student to the list
  • Remove student from the list, which would first involve locating the record in order to remove it. In order to determine which record to remove you must supply the Id number as the search argument.

You are to provide a test class that coordinates the activities of the classes outlined above, by:

  • Creating student objects and adding them to the database of the Admissions object
  • Manipulating student record by:
    • Adding a course(s)
    • Dropping a course(s)
    • Removing a student from the database
    • Displaying list of currently registered students
    • Displaying list of all students that were dropped from the course

The output must be formatted as follows: See image.

Note: Use the class GetData provided to enter the data from the keyboard.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.