Which statement is true about a non-static inner class?

a. It must implement an interface.
b. It is accessible from any other class.
c. It can only be instantiated in the enclosing class.
d. It must be final if it is declared in a method scope.
e. It can access private instance variables in the enclosing object.

e

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a special character that keeps two or more words together

Fill in the blank(s) with correct word

Computer Science & Information Technology

How might you represent a floating point number in terms of bytes?

Do a search on the Web for “floating point” and see what you find.

Computer Science & Information Technology