Hello
As far as I have understood homework the program must display "name"
from StudentRecord class, "id" from Student Class.
These data must be displayed in main.java e.g. StudentRecordExample class.
In StudentRecordExample I have created Student object instance as well
as method setID().
I have no problem with ID but a big one with name.
SetName and getName methods body I have in StudentRecord Class and
parameters e.g. John I send in StudentRecordExample invoking method
object.setName("John");
What I do wrong?
Thanks for help!
Best regards,
Rafal
----------------------------------------------------
Wcześniej-Taniej, Kup teraz LATO 2009. Rabat do 30% i wycieczka
fakultatywna Gratis! Sprawdź i rezerwuj - Kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fwycieczki.wp.pl&sid=649
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---