[java programming] Re: Homework 1014

2010-05-19 Thread JKay
> 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

Re: [java programming] Re: Homework 1014

2010-05-18 Thread Mihai DINCA
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

[java programming] Re: Homework 1014

2010-05-18 Thread JKay
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

2010-05-15 Thread Nick Dolan
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

Re: [java programming] Re: Homework 1014

2010-05-15 Thread Mihai DINCA
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

[java programming] Re: Homework 1014

2010-05-15 Thread JKay
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

[java programming] Re: Homework 1014 "Create Your Own Java Classes"

2009-02-18 Thread Joan Manuel Ventura Felix
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,

[java programming] Re: Homework 1014 "Create Your Own Java Classes"

2009-02-18 Thread Joan Manuel Ventura Felix
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

[java programming] Re: Homework 1014 "Create Your Own Java Classes"

2009-02-18 Thread Joan Manuel Ventura Felix
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

[java programming] Re: Homework 1014 "Create Your Own Java Classes"

2009-02-09 Thread michele . benetti
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

[java programming] Re: Homework 1014 "Create Your Own Java Classes"

2009-02-08 Thread Trong Dinh Thai Hoang
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