(A) set,map
(B) sequence,mapping
(C) setmet,multipule
(D) sit,mat
Category: Object Oriented Programming Mcqs
Object Oriented Programming OOP Mcqs for Screening tests, Interviews, Viva and Other competitive exams. Object Oriented Programming Mcqs section will help users to prepare mcqs of OOP for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their Object Oriented programming portion from here.
Each try block can have __ no. of catch blocks.
(A) 1
(B) 2
(C) 3
(D) As many as necessary
A function call is resolved at run-time in__.
(A) non-virtual member function
(B) virtual member function
(C) Both non-virtual member and virtual member function
(D) None of given
A copy constructor is invoked when?
(A) a function do not returns by value
(B) an argument is passed by value
(C) a function returns by reference
(D) an argument is passed by reference
A pointer to a base class can point to objects of a derived class?
(A) True
(B) False
(C) NA
(D) NA
It is sometimes useful to specify a class from which no objects will ever be created?
(A) True
(B) False
(C) NA
(D) NA
be of type Public Private Protected All of the given D 130 When a subclass specifies an alternative definition for an attribute or method of its superclass, it is __ the definition in the superclass.
(A) overload
(B) overriding
(C) copy riding
(D) none of given
Multiple inheritance can be of type?
(A) Public
(B) Private
(C) Protected
(D) All of the given