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. In case specific variables or functions are needed by a derived class.

Computer Science & Information Technology

You might also like to view...

A word usage error is underlined with a(n) ________ wavy line

Fill in the blank(s) with correct word

Computer Science & Information Technology

COGNITIVE ASSESSMENT Two commons types of RAM are ______ RAM and ______ RAM.

A. dynamic, static B. volatile, nonvolatile C. temporary, permanent D. storage, memory

Computer Science & Information Technology