Single Choice
Difficult
QWhich of the following keyword is used for creating a method inside a class?
ID: #20262
Create Objects in Python
106 views
Question Info
#20262Q ID
DifficultDifficulty
Create Objects in PythonTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
The correct keyword used for creating a method inside a class is:
def
So, the correct answer is: def
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic