What are two advantages to using inner classes?
What will be an ideal response?
There are two big advantages to using inner classes. First, because they are defined within
a class, they can be used to make the outer class self-contained. The second advantage is that the
inner and outer classes’ methods have access to each other’s private methods and private instance
variables.
You might also like to view...
What type of form is embedded in another form?
A. inside form B. subform C. main form D. user view
A(n) ____ is a form control that allows a user to choose one or more items from a list of items.
A. radio button B. option box C. check box D. choice box
When you receive an invitation to chat, ________ to reply to your friend's initial message
A) click OK B) start typing C) click Chat D) press Enter on your keyboard
The _____ facet specifies the maximum number of decimal places to the right of the decimal point in the data type's value.
A. pattern B. enumeration C. fractionDigits D. length