Which of the following statements about an inner class is true?
A) An inner class is used for a utility class that should be visible elsewhere in the program.
B) An inner class that is defined inside a method is publicly accessible.
C) An inner class that is defined inside a method is not publicly accessible.
D) 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.
Correct Answer:
Verified
Q41: You wish to implement a callback method
Q42: Consider the following class: Q43: Which of the following statements about lambda Q44: What role does an interface play when Q45: An _ belongs to a class whose
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents