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.

Discussion Board
Good oo

Nice to develop

Sstya 02-21-2018 02:18 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement