Computer Science, asked by bharath6315, 2 months ago

how a class accomplishes data hiding?expalin with an example.​

Answers

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