OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 55 |
Data members and member function of a class by default is respectively :
private and public | |
public | |
public and private | |
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.