Computer Science, asked by arsohail2106, 4 months ago

definition of functions in java​

Answers

Answered by Anonymous
32

Answer:

In other words, a function is a piece of code which performs the operation and sometimes returns a value. A method is a function that is part of a class that can perform operations on data of this class. In the Java language, the entire program consists only of classes and functions can be described only inside them.

Explanation:

please vote me and thanks me

Answered by aredlaaishureddy
0

Answer:

..In other words , a function is a piece of code which performs the operation and sometimes returns a value. A method is a function that is part of a class that can perform operation on data of this class. In the Java language, the entire program consists only of classes and functions can be described only inside them

Explanation:

Hope it is helpful to you.....!!!

Similar questions