.If you want to enable only derived classes to change base class data members, the data members in the base class should be defined as: a. static b. private c. protected d. All of the above
OOPs
In today's technology-driven world, computer programming skills are in high demand. The object-oriented programming (OOP) approach is very much useful while designing and maintaining software programs. Object-oriented programming (OOP) is a basic programming paradigm that almost every developer has used at some stage in their career.
Constructor
The easiest way to think of a constructor in object-oriented programming (OOP) languages is:
Question 14 papa
.If you want to enable only derived classes to change base class data members, the data members in the base class should be defined as:
a. |
static |
|
b. |
private |
|
c. |
protected |
|
d. |
All of the above |
Full explain this question and text typing work only
We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this line
Step by step
Solved in 2 steps