+ 1
What is the use of foo() in java?
Please give me answer with an example.
4 ответов
+ 1
it is example of name of function or variable if you has not better name and it is not important, especially if you want fast explain some code construction
https://en.m.wikipedia.org/wiki/Foobar
0
Its just a silly name convention for any function and is void of any inherrent meaning. this tradition should have stopped a long time ago.
0
It is just a user defined function. Not a predefined function. So it a function named foo by user.