adplus-dvertising
frame-decoration

Question

What of the following describes protected access specifier?

a.

The variable is visible only outside inside the block

b.

The variable is visible everywhere

c.

The variable is visible to its block and to it’s derived class

d.

None of the mentioned

Answer: (c).The variable is visible to its block and to it’s derived class

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What of the following describes protected access specifier?