+ 1

What is the diference between function and method?

Method vs function

28th Feb 2018, 1:47 AM
Jose Jimenez
4 Answers
+ 1
Really they are mostly the same but there is a slight difference in that methods are functions specific to a class in OOP whereas plain functions are more general.
28th Feb 2018, 3:42 AM
Lewis
Lewis - avatar
0
as @AGC said. they are the same. in some programming language it's called function and in some other method
28th Feb 2018, 2:29 AM
Farshaad Heydari
Farshaad Heydari - avatar
0
Both are same
28th Feb 2018, 4:34 AM
vasu
vasu - avatar