Difference between Function and Method
Page 1 of 1
Difference between Function and Method
functions have independent existence means they are defined outside of the class e.g. in c main() is a function while methods do not have independent existence they are always defined inside class e.g. main() in Java is called method.
Similar topics
» What does it mean that a method or field is "static"?
» What does it mean that a method or class is abstract?
» What are the restrictions placed on static method ?
» Write a method to implement *,-,/ operations. You should use only the + operator
» synchronized method vs synchronized block
» What does it mean that a method or class is abstract?
» What are the restrictions placed on static method ?
» Write a method to implement *,-,/ operations. You should use only the + operator
» synchronized method vs synchronized block
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|