Welcome to www.mcqtutorial.com!!!!
      
      
MCQ Tutorial Search
Home Search Add Question Today's History Discussion Board Job Portal OOPS

CCP-OOPS

Mock Test Contact Feedback
Home
Search
Add Question
Today's History
Discussion Board
Job Portal
OOPS

CCP-OOPS

Mock Test
Subscribe/Unsubscribe
Email:
Social Media
Facebook

Misc Tutorials

References

Question and Answer Tutorial
Tutorials Point
Stack Overflow

MCQ Tutorial - OOPS->CCP-OOPS

                        
First Previous 1 2 3 4 5 6 7 8 9 10 11 Next Last
41.) What happens if the base and derived class contains definition of a function with same prototype?

Options are:
A.) Compiler reports an error on compilation
B.) Only base class function will get called irrespective of object
C.) Base class object will call base class function and derived class object will call derived class
function
D.) Only derived class function will get called irrespective of object
42.) Which of the following are available only in the class hierarchy chain
Options are:
A.) Private data members
B.) Protected data members
C.) Public data members
D.) Member functions
                        
43.) Which of the following is not a type of inheritance?

Options are:
A.) Hierarchical
B.) Multiple
C.) Multilevel
D.) Distributive
44.) Which of the following is the correct way of declaring a function as constant?

Options are:
A.) int ShowData(void) const { /* statements */ }
B.) const int ShowData(void) { /* statements */ }
C.) int ShowData(void) CONSTANT { /* statements */ }
D.) int const ShowData(void) { /* statements */ }
45.) Which of the following concepts is used to implement late binding?

Options are:
A.) Const function
B.) Virtual function
C.) Static function
D.) Operator function
                        
First Previous 1 2 3 4 5 6 7 8 9 10 11 Next Last
Comment:
Name:Email:
Contact No.:
Copyright © 2014 by SBJ Group. All Rights Reserved. Developed and maintained by SBJ Group. Supported on Internet Explorer browser only