adplus-dvertising
frame-decoration

Question

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

a.

Module

b.

Class

c.

Another function

d.

Method

Posted under Python

Answer: (d).Method

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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