i have a little problem in Java,
ok so i built a constructor and called it ToMe (it has some Strings),
after that i built his Copy constructor and later on i built a new constructor, called ToHim, now i want to make a new ToMe in the ToHim constructor but i have a problem, i wrote:
Expand|Select|Wrap|Line Numbers
- String abla
- public ToHim(String bla)
- {
- abla = bla;
- ToMe tome = new ToMe(a,b,c,d);
- }
Expand|Select|Wrap|Line Numbers
- atome = ToMe tome = new ToMe(a,b,c,d);
thanks alot!
Mike