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


Answer: B

Computer Science & Information Technology

You might also like to view...

To write data to a file, you define an object of the __________ data type.

a. outputFile b. ifstream c. fstream d. ofstream

Computer Science & Information Technology

This specifies the number of bits set to a 1 that make up the subnet mask.

What will be an ideal response?

Computer Science & Information Technology

_____________ resolves computer names to IP addresses

a. DNS Server b. Address Resolution Protocol c. Dynamic Host Configuration Protocol Server d. Automatic Private Internet Protocol Addressing

Computer Science & Information Technology

Which of the following is the MAXIMUM recommended cable length for connecting USB devices?

A. 5 meters (16 feet) B. 7 meters (23 feet) C. 10 meters (33 feet) D. 15 meters (49 feet)

Computer Science & Information Technology