This statement is marked true in their mock exam:
I think what they are referring to here is the static nested class. But the problem is that the term top level nested class does not exists in the JLS. There is a term top level class but it refers to any class that is not nested.
Any comments?
An instance of a top level nested class can be created without an instance of its enclosing class.
I think what they are referring to here is the static nested class. But the problem is that the term top level nested class does not exists in the JLS. There is a term top level class but it refers to any class that is not nested.
Any comments?