> called Id.
>
> > On May 15, 11:05 am, "Nick Dolan" wrote:
>
> >> Take studentercord out from settee Anna is the object and you call set on
> >> that
>
> >> e.g
> >> anna.setName("Anna");
>
> >> Nick
uot;);
Nick
07961171046
-Original Message-
From: Mihai DINCA
Date: Sat, 15 May 2010 11:05:35
To:
Cc: Java Programming Online Training Course By Sang
Shin
Subject: Re: [java programming] Re: Homework 1014
I think your constructor for the class Student must do "studentRecord =
new St
gt;
> Cc: Java Programming Online Training Course By Sang
> Shin
> Subject: Re: [java programming] Re: Homework 1014
>
> I think your constructor for the class Student must do "studentRecord =
> new StrudentRecord()" or something like this.
>
> Hope it helps
>
Re: [java programming] Re: Homework 1014
I think your constructor for the class Student must do "studentRecord =
new StrudentRecord()" or something like this.
Hope it helps
mihai
JKay a écrit :
> Tried to post the entire project here, but moderator said no.
> Apparently we're not a
I think your constructor for the class Student must do "studentRecord =
new StrudentRecord()" or something like this.
Hope it helps
mihai
JKay a écrit :
Tried to post the entire project here, but moderator said no.
Apparently we're not allowed to post large volumes of code, just small
snippets
Tried to post the entire project here, but moderator said no.
Apparently we're not allowed to post large volumes of code, just small
snippets?
The project is 3 classes (StudentRecordExample.java[MAIN],
StudentRecord.java,Student.java), which have been modified from the
original MyStudentRecordExam
For example if i use this code
private StudentRecord studentRecord= new StudentRecord();
it works fine.
but with this line
private StudentRecord studentRecord;
it doesnt
What is the difference between this 2 line of code? which is the correct
one??
On Wed, Feb 18, 2009 at 3:38 PM,
but do i have to built another method to access to the instance variable on
StudentRecord...
for example when i want to the set the name i have to built a method
like this in Student.java
public void setStudentName(String name){
studentRecord.setName(name);
}
or i have to change th
i have problem with my english do i have to add the class
StudentRecord.java too from the project MyStudentRecordExampleProject to my
project?
for example i have my main class, the student.class and the
StudentRecord.class in my project thats the first point
the second point i has declar
Hi Jon,
I think it means that you have to create a class, the Student class, and
this class needs to have an attribute whose type of data is StudentRecord.
The name of this attribute is "studentRecord". I hope to have solved your
question.
Just to give you an idea of what he means, I reported a
Hi Jon,
Let me know if I misunderstand your question!
public class Student{
private StudentRecord studentRecord;
public Student(){
}
/*some methods*/
}
Thanks,
ovantin
_
From: javaprogrammingwithpassion@googlegroups.com
[mailto:javaprogrammingwithpass...@googlegroup
11 matches
Mail list logo