Question 4277 – Properties
November 12, 2023Question 2554 – Class-and-object
November 12, 2023Question 4278 – Properties
If a data-item is declared as a protected access specifier then it can be accessed :
Correct Answer: B
Question 18 Explanation:
If a data item is declared as a protected access specifier then it can be accessed by the base and derived classes.
Anywhere in the program
By the base and derived classes
Only by base class
Only by derived class
Subscribe
Login
0 Comments