Computer Science, asked by AAFT53, 1 year ago

Which of the following keywords is used to control access to a class member?

A.Default
B.Break
C.Protected
D.Asm

Answers

Answered by Anonymous
12
ʜᴇʟʟᴏ ᴅᴇᴀʀ....

✔✔✔✔✔✔✔✔

ᴄ. ᴩʀᴏᴛᴇᴄᴛᴇᴅ

❤❤❤❤❤❤❤
Answered by mariospartan
5

Answer:

Protected keywords are used to control access to a class member.

Explanation:

The keyword protected is also an access specifier which grants access to its members inside a class. The classes outside protected parameter cannot access the members and function in the protected class. The members and function inside a protected class is accessed by friend function.  The protected class acts as an inheritance taker, as it can only access information that it has inherited from the other. The protected class can be inherited from friends, member function of the protected class, class derived from public and private that were placed in the protected class.

Similar questions