Accessor methods:

(a) return something equivalent to the value of an instance variable.
(b) promotes abstraction
(c) both A and B
(d) none of the above

(c) both A and B

Computer Science & Information Technology

You might also like to view...

The ________ data type stores serial numbers that are converted and formatted as dates or times

Fill in the blank(s) with correct word

Computer Science & Information Technology

static data members of a certain class:

a. Can be accessed only if an object of that class exists. b. Cannot be changed, even by objects of the same that class. c. Have class scope. d. Can only be changed by static member functions.

Computer Science & Information Technology