*Create a Student class as following:
  -The Student class has StudentRecord class as an instance variable.
Name it as studentRecord.
  -You can use the StudentRecord class from the
MyStudentRecordExampleProject above or you can create a new one - the
only requirement is that it has to have at least one instance variable
of its own.

  -The Student class has studentId instance variable whose type is
Integer type.
Move the studentCount static variable from the StudentRecord class to
Student class.

*Rewrite main.java as following
  -Create 3 instances of Student class and initialize them accordingly
- use whatever initialization values that  are appropriate.

  -Display the information of each student including the student id,
name.
Display the studentCount.

i'm unable to understand the problem. what i took out from above
problem is:
> i have to create two classes Student and StudentRecord
> i have to create Integer type variable studentId
> i hav to change values from studentrecord class
im confused because of
> Rewrite main.java which class is this, is it the studentrecord class
>how do i can create an instance of mainclass(StudentRecord) in student class 
>when student class dont have a main method.

im stucked here is it possible for me to skip this homework and submit
it later. meanwhile can i submit other homeworks???

Ashwani Kumar


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