Hi
I don't understand what these mean:
"The Student class has studentId instance variable whose type is Integer type." 
and 
"Move the studentCount static variable from the StudentRecord class to Student 
class."
My code is:

class Student{

private int studentId; //instance variable. 
//How can I use Integer type? Like this?
//private Integer studentId;
 
private static int studentCount = 0; //this is static variable and must I delete
//these static variable from StudentRecord class?
//or must I use?:
//StudentRecord.studentCount
}
I'm confused and I want a little help.
Thank you.


      
--~--~---------~--~----~------------~-------~--~----~
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