Consider the following code,
When I compile the above code,
I get the following output.
Inner class display method
Outer class display method
When I make some changes in the code
and looks as below
i guess i would get the same output as I got in the previous case
But, I am getting an error @ runtime (Stack Overflow Error)
Why is it so?
Regards,<br />Pradeep Balasubramanian<br /> <br />You have to grow from the inside out. None can teach you, none can make you spiritual. There is no other teacher but your own soul. <br /> <br />- Swami Vivekananda