Computer Science, asked by madgaokar57, 2 months ago

Differentiate between public and private visibility modes in context of object
-oriented programming.​

Answers

Answered by 875117
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