Multiple Choice
What is the main use of inner classes?
A) To alter the behavior of the outer class
B) To handle events
C) To implement cascaded method calls
D) To provide information hiding
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: In deep copying, each reference variable refers
Q25: Which of the following is used to
Q26: Constructors have the same name as the
Q27: Not every user-defined class can override the
Q28: Given the declaration public class MyClass {private
Q30: What does the default constructor do in
Q31: If the object is created in the
Q32: A mutator method of a class changes
Q33: When does the method finalize execute?<br>A) When
Q34: In shallow copying, each reference variable refers