Question: Rewrite the Course class in Listing 10.6. Use an ArrayList to replace an array to store students. Draw the new UML diagram for the class.
Rewrite the Course class in Listing 10.6. Use an ArrayList to replace an array to store students. Draw the new UML diagram for the class. You should not change the original contract of the Course class (i.e., the definition of the constructors and methods should not be changed, but the private members may be changed.)
Step by Step Solution
3.53 Rating (173 Votes )
There are 3 Steps involved in it
Umi diagram for the class Output Number of students in course1 4 Peter Jones Brian Anne Kennedy ... View full answer
Get step-by-step solutions from verified subject matter experts
