type of functions in Java
Answers
Answered by
1
Explanation:
Every Java method has to be within a class.
Static methods belong to a class while non-static methods belong to objects.
All parameters to functions are passed by value, primitives content is copied, while objects are not copied and some would say 'passed by reference'
Similar questions