I ask this question to my friends, but they can not give the proper answer. Can anybody suggest me what is the difference between methods and functions in programming?
In the programming language, Method and function both are same with their functionality.
In java just we call a function as a method. But other languages it actually we call it as a function.