Code For NonGeek
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Difference between Function and Method

Go down

Difference between Function and Method Empty Difference between Function and Method

Post  Admin Tue Aug 30, 2011 10:14 am

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.


Admin
Admin

Posts : 131
Join date : 2011-08-16

https://codefornongeek.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum