how a class accomplishes data hiding?expalin with an example.
Answers
Answered by
0
Answer:
What is a class and how does it accomplish data hiding? A class is a template to create objects. Methods and variables declared private can not be access outside of the class. Those can be only accessed internally, it means that they are hidden from the outs
Similar questions
Hindi,
2 months ago
Chemistry,
2 months ago
History,
4 months ago
English,
10 months ago
Computer Science,
10 months ago