About hiding classes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

About hiding classes

27th Dec 2016, 1:30 PM
Dhanya
2 Answers
0
Hello. Could you please write your question? I suppose you mean encapsulation in OOP so I will answer that one... This is data hiding and very useful in OOP (Java, C#, C++, etc.) to secure your data from 3rd person interfering and also to create a blueprint for future objects without rewriting dozens of lines in IDE. Hope it helps.
27th Dec 2016, 1:36 PM
Ivan Karev (RagingFireGaming)
Ivan Karev (RagingFireGaming) - avatar
0
explain about hiding classes in packages
27th Dec 2016, 2:05 PM
smeily