Simplified guide of MCQs for Exams, Interviews

Sub Topic: oop

1 .  Constructor Can return a value

  • A. True
  • B. False

Correct Answer:


2 .  OOPs is invented by

  • A. Andrea Ferro
  • B. Dennis Ritchie
  • C. Alan Kay
  • D. Adele Goldberg

Correct Answer:

Alan Kay

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

Correct Answer:

It can defined with zero arguments

4 .  Which feature of oop encourges the code reusability

  • A. Polymorphism
  • B. Inheritance
  • C. Abstraction
  • D. Encapsulation

Correct Answer:


5 .  Which language does not support single level inheritance ?

  • A. C
  • B. java
  • C. C++
  • D. Kitlin

Correct Answer: