Question: this is a program i wrote in order to answer the following exercise . what do i need to add in order to re-fill the





11:47 AM Fri Jan 31 N 100% LabiFai View Calibri Regular (B 11 Home Insert B IU Draw A Layout Review A E E 7 public class Course private String Name : private int ID; public Course (String Name, int ID) { this. Name - Name this.ID = ID; public void setName (String Name) { this. Name Name public void setID int ID) this.ID = ID; public String getName() return Name: public int getID) return ID: public class Department private String dentName private Course CRS() private int noorCourses; public Department (String dept Name, int noorCourses) this...dent.NADA - dont Name this.noorCourses - noorCourses CRS= new Course (noorCourses); ++) public boolean exist(int id ) for (int i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
