Question: Hello, Please I need a help with this assignment. I saw some solutions on Chegg but none of them are correct so here are the

Hello, Please I need a help with this assignment. I saw some solutions on Chegg but none of them are correct so here are the details and it has only (2 classes) which some of the solutions I have seen are missing up with that. (If you are gonna copy another solution from Chegg please don't)

Write a Java program which will store, manipulate, and print student registration information.

As part of the solution, identify the following classes:

(a) Student

(b) Admissions.

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

(a) Name is a user defined class comprising of at minimum first name and last name.

(b) Address is a user defined class comprising of fields - street, city, state, and zip code.

(c) Date is a predefined class in the java.util package

(d) The field Courses is a set of no more than five (5) string values representing the courses being registered for. Course names supplied are assumed to be valid and contains no blank space, for instance COP3337 is valid but not COP 3337.

(e) 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:

(a) Add student to the list

(b) 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:

o Adding a course(s)

o 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:

CURRENTLY ENROLLED

Id number: 123456

Name: Williams, John

Address: 2525 Hartsfield Road Tallahassee, FL 33319

Date: September 5, 2009

Courses: COP3804, MATH2050, ENG3300

:

:

STUDENT WHO WERE DROPPED

Id number: 567890

Name: Roberts, Kay-Anne Date:

September 5, 2009

:

:

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

class GetData

1. import javax.swing.JOptionPane;

2.

3. class GetData

4. {

5. static double getDouble(String s)

6. {

7. return Double.parseDouble(getWord(s));

8. }

9. static int getInt(String s)

10. {

11. return Integer.parseInt(getWord(s));

12. }

13. static String getWord(String s)

14. {

15. return JOptionPane.showInputDialog(s);

16. }

17. }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!