+ 3
What is diffrent between function and method in java???
5 Réponses
+ 7
We call function as method in java both are same
+ 5
I guess they mean the same
+ 2
I think only the spelling.
+ 2
functions and methods are essentially the same. The main difference is that a method is a function within an object. In java, everything is an object, hence they call functions methods.
+ 1
method is used in object oriented programming (OOP), but meanning is same describes subroutine as part of program