What is a function in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Buenos Aires, Lives in Buenos Aires, Argentina.
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).
2023-05-06 12:30:34
评论(499)
Helpful(122)
Helpful
Helpful(2)

Oliver Parker
QuesHub.com delivers expert answers and knowledge to you.
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).