Differentiate between public and private visibility modes in context of object
-oriented programming.
Answers
Answered by
0
Answer:
Private = only members of the same class can access the function. Comparison between various access modifiers or specifiers. Private members are accessible within the same class in which they are declared. ... Public gives the method or type complete visibility from other types/classes.
Explanation:
Similar questions
English,
1 month ago
Computer Science,
1 month ago
CBSE BOARD X,
1 month ago
Geography,
11 months ago