MCQ Practice
Single Best Answer
Topic: Python Class Method and Objects MCQ
Q
What 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()
Subchapter
Python Class Method and Objects MCQ
Action
Choose one option below