Which statement about static inner class is true?
Options
- A static inner class does not require an instance of the enclosing class.
- A static inner class cannot be a static member of outer class.
- It must extend enclosing class.
- It’s variables and methods must be static.
CORRECT ANSWER : A static inner class does not require an instance of the enclosing class.
Write your comments