Solved

Which of the Following Statements Is Correct

Question 32

Multiple Choice

Which of the following statements is correct?


A) Methods of an inner class can access instance variables from the surrounding scope.
B) If an interface variable refers to an object, then the object need not belong to a class.
C) It is illegal to have variables whose type is an interface.
D) Methods of an inner class cannot access final variables from the surrounding scope.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions