How to call an instance of a class defined inside a method of an outer class
<p>class Outer{</p>

<p>public void Method(){</p>

<p>int i=10;
System.out.println(i);
Class InsideMethod{
//</p>

<p>}
}</p>

<p>Question : How can I call InsideMethod object outside of the method</p>
