•   Best guide for exams of all nature, Competitive exams and Interviews

Simplified guide of MCQs for Exams, Interviews,

MCQs Bucket Largest Mcqs Website in which mcqs questions,computer mcq

1. Which language does not support single level inheritance ?

A. C

B. java

C. C++

D. Kitlin

● Topic: oop ● Contributed by: Atif Razzaq


2. Which feature of oop encourges the code reusability

A. Polymorphism

B. Inheritance

C. Abstraction

D. Encapsulation

● Topic: oop ● Contributed by: Atif Razzaq


3. Which of the following is correct for copy constructor?

A. The argument object is passed by reference

B. It can defined with zero arguments

C. Used when an object is passed by value to a function

D. Used when a function returns an object

● Topic: oop ● Contributed by: Atif Razzaq


4. OOPs is invented by

A. Andrea Ferro

B. Dennis Ritchie

C. Alan Kay

D. Adele Goldberg

● Topic: oop ● Contributed by: Atif Razzaq


5. Constructor Can return a value

A. True

B. False

● Topic: oop ● Contributed by: Atif Razzaq


6. We can not create instance of

A. Abstract Class

B. Parent Class

C. Nested Class

● Topic: oop ● Contributed by: Atif Razzaq


7. Which of the following is not related to OOPs?

A. Class and Object

B. Constructor and Destructor

C. Structure and Union

● Topic: oop ● Contributed by: Atif Razzaq


8. Can we overload constructor in derived class?

A. Yes

B. No

● Topic: oop ● Contributed by: Atif Razzaq


9. Which of the following is an abstract data type?

A. Double

B. String

C. Int

D. Class

● Topic: oop ● Contributed by: Atif Razzaq


10. Which keyword is used to inherit a class or abstract class is

A. extends

B. extend

C. implement

D. inherit

● Topic: oop ● Contributed by: Atif Razzaq


Advertisment