OOPS
October 17, 2023
DSSSB TGT 2021
October 17, 2023
OOPS
October 17, 2023
DSSSB TGT 2021
October 17, 2023

Properties

Question 5

If a class C is derived from class B which is derived from class A, all though public inheritance, then a class C member function can access

A
protected and public data in C and B
B
protected and public data only C
C
private data in A and B
D
protected data in A and B
Correct Answer: D
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!!