OOPS MCQ Questions

OOPS MCQ Questions

  • Sharad Jaiswal
  • 22nd Nov, 2021

We have listed below the best OOPS MCQ Questions for your basic knowledge of OOPS (Object Oriented Programming System). This OOPS MCQ Test contains 25+ OOPS Multiple Choice Questions. You have to select the right answer to every question to check your final preparation for OOPS MCQ Interview, Exams, & Placement Drives.

Practice Best OOPS MCQ Questions:

1) Which of the following is a type of polymorphism in Java?

  • A. Execution time polymorphism
  • B.Compile time polymorphism
  • C.Multiple polymorphism
  • D.Multilevel polymorphism

2) Which of following is shared structure of a set of similar objects

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

3) Private member of a class is visible

  • A. Everyone
  • B.Same package
  • C.Same class
  • D.Sub class

4) Which of the following are not related to oops?

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

5) Which of the following does not have a body?

  • A. Class
  • B.Interface
  • C.Abstract
  • D.Inheritance

6) We cannot create instance of_____

  • A. Abstract
  • B.Inheritance
  • C.Encapsulation
  • D.Class

7) When does method overloading is determined?

  • A. run time
  • B.coding time
  • C.compile time
  • D.execution time

8) Who was the father of oops.

  • A. Alan Kay
  • B.Kem Thompsan
  • C.Alan Turing
  • D.Chales Babbage

9) How many classes can be defined in a single program?

  • A. One
  • B.<100
  • C.>100
  • D.More Than

10) Default member in a class

  • A. Public
  • B.Private
  • C.Protected
  • D.Static

11) Hiding complexity is known as:

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

12) An Abstract class

  • A. Instantiated
  • B.Must have abstract methods
  • C.Allows normal method declaration
  • D.None of the above

13) Which concept of OOP is false for C++?

  • A. At least one object should be declared in code
  • B.A class must have member functions
  • C.Code can be written without using classes
  • D.Code must contain at least one class

14) Class is passes by_______

  • A. Reference
  • B.Class
  • C.Value
  • D.Data

15) Which is known as generic class?

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

16) Which of the following is universal class for exception handling?

  • A. Object
  • B.Exceptions
  • C.Errors
  • D.Maths

17) Which of the following pairs are similar?

  • A. Class and object
  • B.Structure and object
  • C.Structure and functions
  • D.Class and structure

18) Modularity means are:

  • A. some parts of the program
  • B.some parts of the code
  • C.sub small independent parts
  • D.data into single unit

19) Concept used for late binding is:

  • A. Virtual Function
  • B.Static Function
  • C.Inline Function
  • D.None of the above

20) The object can’t be:

  • A. Passed by value
  • B.Passed by reference
  • C.Passed as function
  • D.Passed by copy

21) Which among the following can show polymorphism?

  • A. Overloading +=
  • B.Overloading &&
  • C.Overloading <<
  • D.Overloading ||

22) Polymorphism is possible in C language.

  • A. True
  • B.False

23) Encapsulation is the way to add functions in a user defined structure.

  • A. True
  • B.False

24) What will be the result of the expression 13 & 25?

  • A. 8
  • B.9
  • C.10
  • D.20

25) cout is a/an ______

  • A. Macro
  • B.Object
  • C.Function
  • D.Operator

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Nov
Corel Draw MCQ
01st
Jun
CodeIgniter MCQ
01st
Nov
Selenium MCQ