Seetharaman Venkatasamy wrote:welcome to javaranch
so "new Test.Inner().go();" is creating a instance of Inner because Inner
() not Test
()?
But what is the meaning "you don’t
use an instance of the outer class. You just use the
name of the class"?
Original sentence from Head First
Java (Because a static nested class is...static, you don’t
use an instance of the outer class. You just use the
name of the class, the same way you invoke static
methods or access static variables.)