Explanation: The nested class can be declared with any specifier , unlike the outer classes which can only be declared public or package private. This is flexibility given for the nested class being a member of enclosing class.
Read moreExplanation: The nested class can be declared with any specifier , unlike the outer classes which can only be declared public or package private. This is flexibility given for the nested class being a member of enclosing class.
Read more