Python - MCQ
Multiple Choice Questions
Python MCQ - Object-Oriented Programming in Python - Set 31
1. Which of the following is correct with respect to the OOP concept in Python?
A). Objects are real world entities while classes are not real.
B). Classes are real world entities while objects are not real.
C). Both objects and classes are real world entities.
D). Both object and classes are not real.
View Answer
Correct: A
2. How many objects and reference variables are there for the given Python code?

A). 2 and 1
B). 3 and 3
C). 3 and 1
D). 3 and 2
View Answer
Correct: C
3. In python, what is the method inside a class?
A). attribute
B). object
C). argument
D). function
View Answer
Correct: D
4. Which of these is not a fundamental feature of OOP?
A). Encapsulation
B). Inheritance
C). Instantiation
D). Polymorphism
View Answer
Correct: C
5. Private members of a class cannot be accessed.
A). TRUE
B). FALSE
View Answer
Correct: B