Hi,
I have a small doubt. Hope somebody will help ..
test.java
---------
class test {
public static void main(String Str[]) {
A a=new A();
}
}
class A {
A x=new A();
}
This program while compilation does not give any error but
during runtime hangs(JDK 1.2).. thats because the code for pre-init
variables are included in the bytecode for the constructor ..
Why is this allowed then ... Similarly i can make it any level
loop and make the system hang ..
Thanx.. Rather discussing in the group, please send me an e-mail..
regards,
Raj
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]