Solved

Which of the Following Statements About an Inner Class Is

Question 23

Multiple Choice

Which of the following statements about an inner class is true?


A) An inner class that is defined inside a method is publicly accessible.
B) An inner class that is defined inside a method is not publicly accessible.
C) An inner class that is defined inside an enclosing class but outside of its methods is not available to all methods of the enclosing class.
D) An inner class is used for a utility class that should be visible elsewhere in the program.

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