-
What is a function in Java?
函数
方法 是一个
Questioner:Lucas Patel 2023-05-05 12:30:34
The most authoritative answer in 2024
-

-
Benjamin Davis——Works at the United Nations Development Programme, Lives in New York, NY, USA.
Function or a method is a named callable piece of code which performs some operations and optionally returns a value. In C language the term
function is used.
Java & C# people would say it a method (and a
function in this case is defined within a class/object).
read more >>
About “函数、方法、是一个”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.