OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 55
Data members and member function of a class by default is respectively :
A
private and public
B
public
C
public and private
D
private
Question 55 Explanation: 
If we do not specify any access modifiers for the members inside the class then by default the access modifier for the members will be Private.
Correct Answer: D
Question 55 Explanation: 
If we do not specify any access modifiers for the members inside the class then by default the access modifier for the members will be Private.
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!!