Instance of same class in main method
Hi i tried to create the instance of same class in main method. That was hanged. Any statement after the statement that instansiate the same class will not be executed. Consider the following ex
<code>
class Test
{
public static void main(String a[])
{
Test obj = new Test(); //Program hangs here
System.out.println("Next statemnt");
}
}
</code>
PLz, if anybody know the reason let me know
Ajit
__________________
Ajit
|