28th
Jul
OOPs MCQ

OOPs MCQ

  • Admin
  • 28th Jul, 2020
  • 531 Followers

OOPs MCQ Quiz

1) OOPs stands for __.

  • A. Object Oriented Programming System
  • B. Object Oriented Program System
  • C. Object Orienting Programming System
  • D. None of the above

2) Define the programming language, which does not support all four types of inheritance?

  • A. Smalltalk
  • B. Kotlin
  • C. Java
  • D. C++

3) Which of the following is not related to OOPS?

  • A. Structure and Union
  • B. Class and Object
  • C. Constructor and Destructor
  • D. Inheritance and Polymorphism

4) Which feature allows open recursion, among the following?

  • A. Use of this pointer
  • B. Use of pointers
  • C. Use of pass by value
  • D. Use of parameterized constructor

5) Which of the following concepts determining at runtime what method to invoke?

  • A. Data hiding
  • B. Dynamic Typing
  • C. Dynamic binding
  • D. Dynamic loading
Download Free : OOPs MCQ PDF

6) What is the extra feature in classes which was not in the structures?

  • A. Member functions
  • B. Static Data allowed
  • C. Data members
  • D. Public access specifier

7) Which of the following is not concept of OOPS in Java?

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

8) __ keyword is used to inherit a class or abstract class.

  • A. extends
  • B. implement
  • C. super
  • D. None of the above

9) Can we overload constructor in derived class?

  • A. Yes
  • B. No

10) ___ refers to the ability of a variable, function or object to take on multiple forms.

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

11) An Abstract Method does not have a body.

  • A. True
  • B. False

12) Which of the following is Access Modifiers in OOPs?

  • A. private
  • B. public
  • C. protected
  • D. All of the above

13) Which function best describe the concept of polymorphism in programming languages?

  • A. Class member function
  • B. Virtual function
  • C. Inline function
  • D. Undefined function

14) Who developed object-oriented programming?

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

15) The principle of abstraction ___.

  • A. is used to achieve OOPS
  • B. Use abstraction at its minimum
  • C. is used to avoid duplication
  • D. is used to remove longer codes

16) Which of the following is not a type of constructor?

  • A. Default constructor
  • B. Friend constructor
  • C. Copy constructor
  • D. Parameterized constructor

17) Which of the following class is known as the generic class?

  • A. Final class
  • B. Template class
  • C. Abstract class
  • D. Efficient code

18) Which concept of Java is achieved by combining methods and attribute into a class?

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

19) Which of the following language supports polymorphism but not the classes?

  • A. C++ programming language
  • B. Java programming language
  • C. Ada programming language
  • D. C# programming language

20) Is Constructor can return a value?

  • A. Yes
  • B. No

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Dec
Laravel MCQ
01st
Dec
React JS MCQ
01st
Jan
AngularJs MCQ
01st
Jul
Node js MCQ
01st
Jul
Angular 2 MCQ
01st
Jul
JSON MCQ