Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
Which statement is true about a non-static inner class ?
1.
It must implement an interface
2.
It is accessible from any other class
3.
It must be final if it is declared in a method scope.
4.
It can access private instance variables in the enclosing object