Java help?? Gen. questions. Beginner.

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Heh heh, that would kind of defeat the purpose of complex types wouldn't it :p How else would you use them?
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: kamper
Heh heh, that would kind of defeat the purpose of complex types wouldn't it :p How else would you use them?

Simple, lots and lots of brackets.

(new Dog()).eat(new Cat());

Except your objects could only do one thing before they die, so that would suck :(