Question: Consider the following Class: begin{tabular}{|l|l|} hline multicolumn{1}{|c|}{ Controller } hline Students: a list of Students Courses: a list of Courses Instructors: a list of

 Consider the following Class: \begin{tabular}{|l|l|} \hline \multicolumn{1}{|c|}{ Controller } \\ \hline

Consider the following Class: \begin{tabular}{|l|l|} \hline \multicolumn{1}{|c|}{ Controller } \\ \hline Students: a list of Students Courses: a list of Courses Instructors: a list of Instructors Registrations: a list of Registrations \\ \hline + constructor + getalliDs + getallCodes + addStudent (id,name) + addCourse + addinstructor + registerStudent + printregcourse +printstudentsinCourse \\ \hline & \\ \hline \end{tabular} The method getalliDs must return the students Ids in an arraylist. The following shows the written code of the method with missing part A, B and C. public Arraylist getalliDs 0 Y Arraylist> out = new Arraylist0; for(int i=0;i

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!