Question: Need help with very simple Java assignment, I just need it to display ONLY the list just how it is shown here, not user input

Need help with very simple Java assignment, I just need it to display ONLY the list just how it is shown here, not user input required, it could be the same list provided here with the same names and everything else, it doesn't matter. Need help with very simple Java assignment, I just need it to

. Java review You may use an IDE or a text editor, but I will test this by compiling and running from the command line so be sure to test it that way. (No packages allowed) Save this for a future assignment. Here are the steps (1) Create a Student class containing an ID, a last name, and a list of course names such as "COP2210" or"COP2250" (2) Create a class named StudentTest that contains a List of students. Do not use the list provided here. In the class constructor, create 10 students and add them to the list. Each student's ID must be different. Each student you add to the list must contain at least 3 different course names. Make sure the students do not all have the same courses, although there should be some overlap (see the sample below). The student names must be inserted into the list in random order (not sorted) (3) Sort the list in ascending order by student last name and display the list. For each student, display the ID, last name, and list of courses on a single line. Here is sample output. Note hovw the tab character is inserted after the name to line up the next column containing courses. Be sure there is no trailing comma at the end of the list of courses 0008, Alvarez COP2250, COP3250, COP4258 e002, Chong 0026, Fujioka COP225e, COP3250, COP425e 0032, Johnson COP121e, COP3337, COP3530 9010, Kim 0027, o'Malley COP225e, COP3250, COP4256 0044, Pierrot ENC1105, ENC3250, REL221e 0013, Ramirez ENC1105, ENC3250, REL2210 9001, Smith 0011, Wong COP121e, COP3337, COP3530 COP121e, COP3337, COP353e COP2250, COP325e, COP425e ENC1105, ENC3250, REL2210

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!