Solved

Which of the Following Statements Is Correct

Question 53

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents