Computer Science, asked by sanjoychakraborty197, 1 year ago

State the difference between and with function and start with function in Java

Answers

Answered by Devenderkumar999
0

A function is a piece of code that is called by name. It can be passed data to operate on (i.e. the parameters) and can optionally return data (the return value). All data that is passed to a function is explicitly passed. A method is a piece of code that is called by a name that is associated with an object.

Similar questions