Question and Answer

Object Oriented Programming – Question and Answer

1. Define Encapsulation. Encapsulation : It is a mechanism that associates the code and the data it manipulates into a single unit. In C++, this is supported by a construct called class. 2. What is an expression? Give an example. Expression is a construct or operation created by combination of operators and operands. Example :

Object Oriented Programming – Question and Answer Read More »