I am stuck halfway in the homework for LAB -1014 . I have been on it for 2 days 
now and can't seem to go further. I will appreciate anyone who can help me. 

Below is what I have done so far. 

/*Student.java 

public class Student { 
StudentRecord studentRecord = new StudentRecord(); 
int studentId = 0; 
//Static variable declared 
private static int studentCount = 0; 

public Student() { 
} 


public static int getStudentCount() { 
return studentCount; 
} 

public int getStudentId() { 
return studentId; 
} 

public StudentRecord getStudentRecord() { 
return studentRecord; 
} 


} 

/*main.java 

public class main { 
public static void main(String[] args) { 
Student student = new Student(); 
} 
} 

The StudentRecord.java is same as that of the lab. 

Thanks, 

Steve 


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to