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.
- Posts : 131
Join date : 2011-08-16
Permissions in this forum:You cannot reply to topics in this forum