MCQ
Single Best Answer
Not Set
QWhat will be the output after the following statements?
class Furniture:
def chair():
print('It has 4 legs')
def table():
print('It has 6 legs')
Furniture.chair()
ID: #3919
Python Class Method and Objects MCQ
218 views
Question Info
#3919Q ID
Not SetDifficulty
Python Class Method and Objects MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option A
Explanation
It has 4 legs
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic