Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Could you please Help me with this. Another file with a similar name (COP 4814 Labs) is open Use Compare Files to identify the differences

Could you please Help me with this.

image text in transcribed

Another file with a similar name (COP 4814 Labs) is open Use Compare Files to identify the differences between COP 4814 Lab 8 (20 Pointhese filesal) Students and Courses Part 2 (10 points (Java Maps and Lists) You created the Students and Courses application (Part Now you are asked to improve it in the following ways ompare now, Do not show this again in Lab 1 (1) Create a TreeMap of course names. Each map entry should contain a single integer that counts the number of students who have enrolled in that course (2) Display the map in ascending order by course name, showing each course name and its enrollment count. Note: You cannot directly increment the enrollment count in a map entry. Instead, retrieve the existing count using the get() method, add 1 to the count, and then insert the key and updated enrollment count back into the map by calling the put() method The final test program should display the same output as lab 1 with the addition of the Course Enrollments below that. You should have the 15 students from Lab1 0008, Alvarez COP 225e, COP325e, COP425e 0002, Chong 9026, Fujioka COP225e, COP325e, COP4250 0032, Johnson COP121e, COP3337, COP353e 901e, Kim 0027, o'Malley COP2250, COP325e, COP4250 0044, Pierrot ENC1105, ENC3250, REL221a 0013, Ramirez ENC1105, ENC3250, REL2212 9e01, Smith 9011, Wong COP121e, COP3337, COP3530 COP1210, COP3337, COP353e COP2250, COP3250, COP4250 ENC1105, ENC325e, REL2210 COP 22504 COP325? -- 4 COP33373 COP3530 - 3 COP42504 ENC1105 3 ENC 325e REL2210-3 Submission (2 Points) Submit a zip file called FirstnameLastnamelab8.zip containing your Java source code. Do not use the package statement in any of your files. Each class should be in a separate file. I will compile and run from the command line A Java submission must compile and run from the command line or it will earn a 0 and will not be graded further. Do not include package statements or this will happen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial And Temporal Databases 10th International Symposium Sstd 2007 Boston Ma Usa July 2007 Proceedings Lncs 4605

Authors: Dimitris Papadias ,Donghui Zhang ,George Kollios

2007th Edition

3540735399, 978-3540735397

More Books

Students also viewed these Databases questions

Question

Differentiate between a mission statement and a vision statement.

Answered: 1 week ago