The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.
Above answer was rated as good by the following members: ratneshict, gmraju333
RE: what is the difference between methods and functio...
The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.
RE: what is the difference between methods and functions
Function have independent existence which means they are defined outside the class. Method do not have independent existence that means they are defined inside the class.
RE: what is the difference between methods and functions
The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.