Carefully define mutator and accessor functions of a class.

What will be an ideal response?


A mutator function allows the class author to control changes to class data, even filtering out bad data. An accessor function allows the class author to control access to class data and the format of the presentation.

Computer Science & Information Technology

You might also like to view...

Which of the following will cause the next output to begin on a new line?

A) cout << endl; B) cout << "endl"; C) cout << "/n"; D) All of the above E) A and C, but not B

Computer Science & Information Technology

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

1. True/False: The two’s complement representation of +6710 in 8-bits is 10000112. 2. True/False: External documentation consists of comments within a program that explain the code, step by step. 3. True/False: When a program is written by identifying tasks and subtasks and then writing modules to deal with each task, this is known as modular programming.

Computer Science & Information Technology

You can adjust column dimensions by dragging the ________ indicator on the horizontal ruler

Fill in the blank(s) with correct word

Computer Science & Information Technology

AC Case 5-1Ms. West is a fourth grade teacher in a self-contained classroom. She keeps track of her students' attendence, homework, projects, and scores in an Access database. At the end of the year, she wants to provide each parent or guardian with a printed report containing this information. Ms. West wants to insert the school logo in the header of the report. She will click the Logo button in the Header/Footer group of the Design tab to open the ____ dialog box.

A. Insert Picture B. Insert Logo C. Design Report D. Design Header

Computer Science & Information Technology