Computer Science, asked by abinaya23suba, 2 months ago

what is a function in java​

Answers

Answered by majidpatna
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 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.

Answered by Anonymous
0

Answer:

 \huge{ \green{ \bigstar{ \boxed{ \boxed{ \underline{ \sf{ \blue{ \mathfrak{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.

Similar questions