No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am working on a project where I am building a student object from student java class. The student.java class specifies a method of: [code=java] public void setCourses(ArrayList<Course> courses) { this.courses = courses; } [/code] So I have built the following two methods in my main.java class file: [code=java] public … |
|
I'm having trouble with this code. I'm sure it's something stupid (I'm in a class for Java) so please forgive this Java Newbie. [code] package Student; import Entity.*; import ExceptionManagement.StudentException; import java.util.ArrayList; import java.util.List; import javax.swing.*; public class DataManagerBean implements DataManager { ArrayList<Student> students = new ArrayList<Student>(); ArrayList<Course> courses = … |