sentence1: In Java , unless the outer class is declared static , a reference to an instance of an inner class carries a reference to the inner class with it .
sentence2: In Java , a reference to an instance of an inner class contains a reference to the inner class , unless the outer class is declared as static .