posted 21 years ago
Hi, Shiva -
I'm surprised you're not overflowing your stack, because your two constructors are calling each other. (One should call super(), but you can't have a call to super() and a call to this() in the same constructor.) Some compilers will permit this -- though it won't run properly -- while others will generate a compile error.
Also, your constructor needs to initialize the final variable ijjj or your code won't compile.
Regards,
Jeff
[ August 25, 2003: Message edited by: Jeff Bosch ]
Give a man a fish, he'll eat for one day. Teach a man to fish, he'll drink all your beer.
Cheers, Jeff (SCJP 1.4 all those years ago...)