C++ Interview Question and Answers

6. What is encapsulation?
  The mechanism by which the data and fucntions are bound together within an object definition is called as encapsulation.
 
Your Name Your Email-ID
Your Answer
`
7. What is the significance of an object?
  An object is a group of related functions and data servers those fucntions. It is a kind of self sufficient 'sub program' with a specific functional area.
 
Your Name Your Email-ID
Your Answer
8. How is ploymorphism different from inheritance?
  Polymorphism promotes, reduces software complexity, as multiple definitions are permitted to an operator or function. Inheritance allows a class to be derived from an existing class thus promoting reusability of code.
 
Your Name Your Email-ID
Your Answer
9. Expand's OOP's langauge?
  Object Oriented Programming Language.
 
Your Name Your Email-ID
Your Answer
10. What are pointer variables?
  Pointer variables can store the address of other variables but the addresses stored in pointer variable should be of the same data type a pointer variable is pointint to.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 10 of 3