Computer · Programming Fundamentals & OOP · page 1 of 2
Object-Oriented Programming MCQs with Answers
Timed quizzes, instant results, track your progress — free
Practice these MCQs in the appObject-Oriented Programming Concepts MCQs (1–10)
10 MCQs with answers and a short one-liner. Hide answers to test yourself.
Past paper MCQs in this chapter · See all past papers
Answers and one-liners are hidden. Tap an option to check that question, or show all.
- 1.
Past Paper MCQ
Which type of inheritance is not supported by Java?
- 2.
What is the concept of polymorphism in Object-Oriented Programming (OOP)?
- 3.
What term is used to define the properties or characteristics of an object in computing?
- 4.
Which programming language is a prime example of object-oriented programming?
- 5.
What is the primary purpose of the Singleton design pattern in software development?
- 6.
What is the term used for the ability to create your own data types in programming?
- 7.
In C++, how do you declare a variable for a structure called StructName?
- 8.
Which function type can access private members of a class without being a member of that class?
- 9.
In Flutter, which function is typically used to implement the Scaffold() widget?
- 10.
In Object-Oriented Programming, when is a constructor function automatically called?