Skip to content
Related Articles
Open in App
Not now

Related Articles

Python | Functions | Question 5

Improve Article
Save Article
  • Difficulty Level : Easy
  • Last Updated : 28 Jun, 2021
Improve Article
Save Article

What is called when a function is defined inside a class?






Another Function



Answer: (D)


Explanation: When a function is defined inside a class then it is called Method. The method is accessible to data that is contained within the class.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!