Tuesday, 6 January 2015

Encapsulation: Binding the details(int,char,float,string) together in a class is called encapsulation.   Class is also like a structure. Compared to structures, C++ class has the following extra features Features of class in C++: 1) Protect 2) Private 3)Public Above declared variables can be visible to everywhere in our program.  Because, we have mentioned that the class variables are public. Creating...
Read More