Objects and Classes on C++ related Questions and Answers

Question 2 : Which of the following means ''The use of an object of one class in definition of another class''?
1. Encapsulation
2. inheritance
3. Composition
4. Abstraction
View Answer   Discuss with Members

Question 3 : Which of the following can be overloaded?
1. Object
2. functions
3. operator
4. Both B and C
View Answer   Discuss with Members

Question 4 : Which of the following also known as an instance of a class?
1. Friend Functions
2. Object
3. Member Functions
4. Member Variables
View Answer   Discuss with Members

Question 5 : Which of the following type of data member can be shared by all instances of its class?
1. Public
2. inherit
3. static
4. Friend
View Answer   Discuss with Members

Question 7 : Which of the following keywords is used to control access to a class member?
1. Default
2. Break
3. Protected
4. Asm
View Answer   Discuss with Members

Question 9 : Which of the following access specifies is used in a class definition by default?
1. Protected
2. Public
3. Private
4. Friend
View Answer   Discuss with Members


View 1 - 10 of 15 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