Which is true about a static nested class in Java?

1
It can access instance variables of the enclosing class directly.
2
It can be instantiated without an instance of the enclosing class.
3
It must be marked final.
4
It can access non-static methods of the enclosing class directly.
5
Question Not Attempted

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation