What is the method inside the class in python language?
a. Object
b. Function
c. Attribute
d. Argument
Answers
Answered by
16
Answer:
FUNCTION
Explanation:
HOPE THIS ANSWERS YOUR QUESTION
Answered by
4
The method inside the class in python language is a function
Detailed answer
Method and function are essentially the same.
- A method is termed as a function that belongs to an object or class in python language.
- A method is defined as a procedure that is derived from the basic oops concept that is object-oriented programing.
- Whereas a function is a set of c.o.d.e.s that are reusable, which can be called or accessed anywhere in a program.
- Functions are used when there is a need for the c.o.d.e in the same program so that the c.o.d.e does not have to be repeated again and again.
Similar questions