Thursday, 31 May 2018

Information Hiding in C++ 

Information hiding is the most useful technique that can be used in the program to make it more powerful. This is basically done by using Encapsulation


As we all know the Encapsulation is wrapping up of data into a single unit. The most basic examples of Encapsulation is Classes. We can have those data members(variables) and member functions(functions or methods in JAVA) in a single unit. The programmer can make the program less complex and make it easy to read.