OOPs Concepts on C++ related Questions and Answers - Page 3

Question 22 : Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object.
1. Inheritance
2. Polymorphism
3. Abstraction
4. Encapsulation
View Answer   Discuss with Members

Question 24 : Which of the following functions are performed by a constructor?
1. Construct a new class
2. Construct a new object
3. Construct a new function
4. Initialize objects
View Answer   Discuss with Members

Question 25 : Which of the following cannot be used with the keyword virtual?
1. class
2. member functions
3. constructor
4. destructor
View Answer   Discuss with Members

Question 26 : Which of the following is the correct class of the object cout?
1. iostream
2. istream
3. ostream
4. ifstream
View Answer   Discuss with Members

Question 27 : Which of the following ways are legal to access a class data member using this pointer?
1. this->x
2. this.x
3. *this.x
4. *this-x
View Answer   Discuss with Members

Question 28 : Which of the following factors supports the statement that reusability is a desirable feature of a language?
1. It decreases the testing time
2. It lowers the maintenance cost.
3. It reduces the compilation time.
4. Both A and B.
View Answer   Discuss with Members

Question 29 : Which of the following concepts is used to implement late binding?
1. Virtual function
2. Operator function
3. Const function
4. Static function
View Answer   Discuss with Members


View 21 - 30 of 49 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter