OOPs MCQ Quiz

  1. Which of following is shared structure of a set of similar objects
  2. Which of following does not have a body
  3. Which of following is pure object oriented programming language?
  4. In oops public, private & protected are
  5. A private member of a class is visible to
  6. Which keyword is used to inherit a class or abstract class is
  7. Which of the following is an abstract data type?
  8. Can we overload constructor in derived class?
  9. Which of the following is not related to OOPS?
  10. We can not create instance of
  11. Constructor can return a value
  12. OOPs is invented by _______
  13. Which of the following is correct for copy constructor?
  14. Which Feature of OOP encourges the code reusability?
OOPs MCQ

Take OOPs Quiz To test your Knowledge

Below are few OOPs MCQ test that checks your basic knowledge of OOPs. This OOPs Test contains around 20 questions of multiple choice with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link.

  • Encapsulation
  • A Class
  • Inheritance
  • None of Above
View Answer
  • An Interface
  • A Class
  • An Abstract Method
  • none of above
View Answer
  • Java
  • SmallTalk
  • C++
  • Kotlin
View Answer
  • Classes
  • Access Modifiers
  • Interfaces
  • Method signature
View Answer
  • every where
  • in sub class
  • members to same package
  • only members of same class
View Answer
  • extends
  • extend
  • implement
  • inherit
View Answer
  • Double
  • String
  • Int
  • Class
View Answer
  • Yes
  • No
View Answer
  • Class and Object
  • Constructor and Destructor
  • Structure and Union
  • Inheritance and Polymorphism
View Answer
  • Anonymous class
  • Nested class
  • Parent class
  • Abstract class
View Answer
  • True
  • False
View Answer
  • Andrea Ferro
  • Dennis Ritchie
  • Adele Goldberg
  • Alan Kay
View Answer
  • The argument object is passed by reference
  • It can be defined with zero arguments
  • Used when an object is passed by value to a function
  • Used when a function returns an object
View Answer
  • Polymorphism
  • Inheritance
  • Abstraction
  • Encapsulation
View Answer
  • classname objectname= new() integer;
  • classname objectname= new() classname()
  • classname objectname= new classname;
  • classname objectname= new classname()
View Answer
  • C lanaguage
  • Java
  • Kotlin
  • C++
View Answer
  • Static function
  • Friend function
  • Const function
  • Virtual function
View Answer
  • Object
  • Errors
  • Exceptions
  • Maths
View Answer
  • ClassNotFound
  • NoClassException
  • ClassFoundException
  • ClassNotFoundException handles the undefined class exception in program
View Answer
  • Only 2
  • Only 1
  • Maximum 256
  • As many as required
View Answer