Computer Science, asked by snehasarangi, 5 months ago

how are private members of a class are different from public members​

Answers

Answered by RehanAk73
0

Answer:

please give me 5 stars

Explanation:

public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.

Similar questions