State the difference between and with function and start with function in Java
Answers
Answered by
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
English,
6 months ago
Accountancy,
6 months ago
English,
6 months ago
Music,
1 year ago
Math,
1 year ago