If a class designates all of its data members as private and all of its member functions as public, we must rely on ____ to access data members.

A. scope resolution operators
B. member functions
C. assignment statements
D. equivalence statements


Answer: B

Computer Science & Information Technology

You might also like to view...

By convention, the name for a Car interface is:

a) InterfaceCar b) ICar c) CarI d) None of the above.

Computer Science & Information Technology

List three types of changes for which you should use change management.

What will be an ideal response?

Computer Science & Information Technology

How many times will this for loop execute? (Note: i is an int.)

```for(i = 100; i > 0; --i) ``` A. 0, the loop will not execute B. 99 C. 100 D. The loop is not written correctly. It would not compile.

Computer Science & Information Technology

Office provides a shortcut for opening recently used files: Click the ____ tab in any of the Office programs, and then click Recent in the navigation bar.

A. Home B. Edit C. File D. Insert

Computer Science & Information Technology