Is it possible for derived classes to access the private data in their base class?

What will be an ideal response?

It is not possible for the children classes to directly access the base class data if the data is declared private. The derived classes would have to use the base class sets and gets.

Computer Science & Information Technology

You might also like to view...

A(n) ________ states the source of unoriginal content that appears in a presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Document Inspector can find hidden content that is not even on the slide

Indicate whether the statement is true or false

Computer Science & Information Technology