Class methods manipulate data by ____.

A. directly accessing private data members.
B. passing information as arguments through parameters.
C. using constructors and accessors.
D. sending visible data in the Main( ) method.


Answer: B

Computer Science & Information Technology

You might also like to view...

Given the following function definition

void shift(int& a, int&b) { a=b; b=a; } What is the output after the following function call? int first=0, second=10; shift(first, second); cout << first <<" "<< second << endl; a. 0 10 b. 10 0 c. 0 0 d. 10 10

Computer Science & Information Technology

Under Windows, your C drive will contain __________.

a. Documents and Settings b. Program Files c. Windows d. all of the above

Computer Science & Information Technology

An omnidirectional dipole antenna focuses the radio beam in one direction.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

It's a good idea to select the Preload rollover image check box in the Insert Rollover Image dialog box to ensure that the rollover image appears without a delay.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology