14 lines
381 B
Java
14 lines
381 B
Java
// this class describes the relation between a student and a given class
|
|
// We allow students to be able to enroll in multiple classes with this class
|
|
public class Enrolled {
|
|
public int studentID;
|
|
public String studentName;
|
|
public int courseID;
|
|
public int courseTitle;
|
|
|
|
Enrolled(int sID, String sName, int cID, String cTitle) {
|
|
this.studentID = sId;
|
|
this.studentName
|
|
}
|
|
}
|