If you want to access inner class instance you have to have outer class instance. So if you are accessing from static method(such as main) you have to create instance of outer class and then access inner class through it. If you are accessing from non-static method of outer class than you don't need an instance of outer because you have implicit this, like in tryInnerClass method.
I think Camilo was referring to the outer class? (the term parent is used in an inheritance relationship which is not exactly in this situation). Father is not a Java term, unless there is an actual class called 'Father'.
be a well encapsulated person, don't expose your privates, unless you public void getWife()!
I promise I will be the best, most loyal friend ever! All for this tiny ad:
a bit of art, as a gift, the permaculture playing cards