Single Choice Not Set

QWhat will be the output after the following statements?
class Furniture:
    def legs():
        print('is made of wood')
Furniture.legs()

ID: #3917 Python Class Method and Objects MCQ 180 views
Question Info
#3917Q ID
Not SetDifficulty
Python Class Method and Objects MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Furniture is made of wood
  • B is made of wood
  • C print(is made of wood)
  • D legs is made of wood
Correct Answer

Explanation

is made of wood

Share This Question

Challenge a friend or share with your study group.