Why would a programmer choose to use protected class members and not private class members?

A. In case specific variables or functions are needed by a derived class.
B. So you can get any and all data from parent class.
C. You should always use private class members for data security.
D. None of the above.


A

Computer Science & Information Technology

You might also like to view...

MC Flag__________ specifies that the element can store parsed character data (i.e., text).

a) PCDATA. b) CDATA. c) DATA. d) None of the above.

Computer Science & Information Technology

What are VMM agents and what are their purpose?

What will be an ideal response?

Computer Science & Information Technology

A(n) ________ is a piece of hardware that executes a set of machine-language instructions.

a) controller b) bus c) processor d) motherboard

Computer Science & Information Technology

Match the following property types to their descriptions: I. Format II. Validation Text III. Required IV. Result Type V. Indexed A. increases the efficiency of a search on a designated field B. indicates that a value for the field must be entered C. specifies the error message that is displayed when the validation rule is violated D. enters the format for a calculated field result E. changes the

way a field is displayed but does not affect the stored value What will be an ideal response?

Computer Science & Information Technology