Computer Science, asked by jeyasuryavelukonar17, 2 months ago

differentiate void and non-void function​

Answers

Answered by piyacutepie
0

Answer:

The way that a non-void method is called differs from the way that a void method is called in that the call is made from within other Java statements. Since a non-void method always returns a value, this value has to be stored in a variable, printed, or returned to a Java control structure or another method

Explanation:

It may help you : )

Similar questions