HOW CAN I create two functions that can insert and remove a Course in a Array?
I have 4 classes: 1.Student class 2.Course class 3.Courselist Class (*where I'll define the Insert Course and Remove course methods) 4.StudentCourseTest(main method) I'll just show the skeleton code so you'll know what I'm tryna figure out. Don't mind the other classes they are just there so we know how they relate to each other... I need help with creating the Methods within the CourseList class. public class Student { private String StudentId; private String FirstName; private String LastName; private CourseList courseList; public Student(String StudentId,String FirstName,String LastName,CourseList courseList) { // in here I'll just store the fields above with the passed in parameters.. } public class Course { public String CourseCode; public String CourseName; public String CreditPoint; { //I'll just set The Getter Methods here // And The setter Methods here } That is the skeleton of the two other classes.The actual class that will have the two methods for insertion&removal is đ