[Tutor] a class knowing its self

Ben Vinger benvinger at yahoo.co.uk
Sat Jan 21 17:29:51 CET 2006


Yes, you are right, - Shuying Wang's suggestion fixed
the immediate problem, but there is still someting
wrong with my code - maybe I'll ask about it again
later.


--- Ewald Ertl <ewald.ertl at hartter.com> wrote:


> > 
> Have a more precisely look at your code.
> s.getName() does just return, what you have put into
> the class with setName(). ( Reassignment of a
> variable to
> something different what you intended ).



		
___________________________________________________________ 
NEW Yahoo! Cars - sell your car and browse thousands of new and used cars online! http://uk.cars.yahoo.com/


More information about the Tutor mailing list