Who can access private data in a class?

a. members of the class
b. friends of the class
c. everyone
d. B and C
e. no one


d. B and C

Computer Science & Information Technology

You might also like to view...

Which answer is a properly overloaded operator?

A. bool (AddressBk ab) == operator B. (AddressBk ab) == operator bool C. operator bool == (AddressBk ab); D. bool operator == (AddressBk ab);

Computer Science & Information Technology

SharePoint ________ include Approval, Collect Feedback, Collect Signatures, Three-State, and Publishing Approval

Fill in the blank(s) with correct word

Computer Science & Information Technology

The l character is used for a platform-independent end of line.

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

Computer Science & Information Technology

In the class LinkedSortedList, which of the following items are private?

a. the constructor b. isEmpty() c. getEntry(position) d. getNodeAt(position)

Computer Science & Information Technology