C++ Interview Question and Answers

1. What are the advantage of Object Oriented Programming?
 
  • Class data type allows programs to organize as objects that contain both data and functions.
  • Ploymorphisn promotes, reduces software complexity, as multiple definitions are permitted to an operator or fucntion.
  • Inheritance allows a class to be derived, from an existing class, thus promoting reusability of code.
  • Data hiding or Abstraction of data types provides secuirty to data, as unrelated member functions cannot access its data.
 
Your Name Your Email-ID
Your Answer
2. What is an object?
  A group of data and operations are termed as object. The operations represent the behaviour of the object.
 
Your Name Your Email-ID
Your Answer
3. What is inheritance?
  The process of acquiring Base class properties is called inheritance.
 
Your Name Your Email-ID
Your Answer
4. What is polymorphism?
  The ability of an object to respond differntly to different messages is called polymorphism.
 
Your Name Your Email-ID
Your Answer
5. What sort of software is used to solve any specific problem?
  The application software is used to solve any specific problem.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 1 of 10