+ 3

What is diffrent between function and method in java???

21st Jul 2019, 8:45 AM
Mehrzad Shirvani
Mehrzad Shirvani - avatar
6 Respostas
+ 7
We call function as method in java both are same
21st Jul 2019, 1:52 PM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
+ 5
I guess they mean the same
30th Jul 2019, 9:06 PM
Japhzino
Japhzino - avatar
+ 2
I think only the spelling.
22nd Jul 2019, 1:48 AM
Sonic
Sonic - avatar
+ 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.
22nd Jul 2019, 5:54 AM
Logomonic Learning
Logomonic Learning - avatar
+ 1
method is used in object oriented programming (OOP), but meanning is same describes subroutine as part of program
21st Jul 2019, 9:49 AM
zemiak