(A) Different classes
(B) Multiple classes
(C) Same class
(D) None of the given
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.
If a class A inherits from class B, then class A is called?
(A) Child class
(B) Derived class
(C) Parent class
(D) Child and derived class
Operator overloading is?
(A) making C++ operators work with objects
(B) giving C++ operators more than they can handle
(C) giving new meanings to existing Class members
(D) making new C++ operators
this pointer does not pass implicitly to __ functions.
(A) Static Member
(B) Non-Static Member
(C) Instance Number
(D) None of the given
Which of the following operator(s) take(s) one or no argument if overloaded?
(A) ++
(B) *
(C) %
(D) All of the given choices
__ Operator will take only one operand.
(A) New
(B) int
(C) object
(D) none of the given
Object can be declared constant with the use of Constant keyword?
(A) true
(B) false
(C) NA
(D) NA
If we are create array of objects through new operator, then?
(A) We can call overloaded constructor through new
(B) We can‘t call overloaded constructor through new
(C) We can call default constructor through new
(D) None of the given