Can we say that methods are like functions..? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can we say that methods are like functions..?

29th Dec 2015, 4:23 PM
preet singh
preet singh - avatar
5 Answers
+ 1
Methods and function are the same. In Java we call methods and in c,c++ we call function.
14th May 2016, 4:41 PM
Rohit Raj
Rohit Raj - avatar
+ 1
Lets put it this way, 'Methods and Functions have similar functionality'.
17th Oct 2016, 2:08 PM
Nikhil Shrivastav
Nikhil Shrivastav - avatar
0
yes, we can.. but OOP usually mention it with method..
30th Dec 2015, 2:12 PM
Insan Rizky
Insan Rizky - avatar
0
Yes, methods are functions.
2nd Feb 2016, 8:48 PM
Ahmed Khaled
Ahmed Khaled - avatar
0
Yes we can. One way to look at it is methods are classes' functions.
9th Feb 2016, 12:18 PM
David Dias
David Dias - avatar