...
Question 4277 – Properties
November 12, 2023
Question 2554 – Class-and-object
November 12, 2023
Question 4277 – Properties
November 12, 2023
Question 2554 – Class-and-object
November 12, 2023

Question 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.
A
Anywhere in the program
B
By the base and derived classes
C
Only by base class
D
Only by derived class
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!