Computer Science, asked by jifoka7196, 3 months ago

what is the difference between method functions and user defined functions​


jifoka7196: no not the answer
jifoka7196: i need section wise

Answers

Answered by bivaspanda88
0

Answer:

Functions can be called only by its name, as it is defined independently. But methods can't be called by its name only, we need to invoke the class by a reference of that class in which it is defined, i.e. method is defined within a class and hence they are dependent on that class.

Answered by jeesitapandey
0

Answer:

Functions can be called only by its name, as it is defined independently. But methods can't be called by its name only, we need to invoke the class by a reference of that class in which it is defined, i.e. method is defined within a class and hence they are dependent on that class.

Similar questions