0
Why use the following: public Function foo() {//code} Instead of public void foo () {//code} ?
The difference on Functions and Methods
2 Réponses
+ 3
I am working on Java and there is no such type of declaration. In java functions are called methods.
0
Thanks for the feedback. I saw this question on 1 Facebook group, so I needed to come ask it here to make sure that I didn't skip any lesson nor was I being misled as it's been a while seeing it used when people make examples using FOO.