...

View Full Version : Difference between a class and function?



tokio
05-02-2009, 08:14 PM
Sorry, meant difference between a method and a function!


Is the only difference between them is that methods are usually associated with classes in higher programming languages? Trying to get my head around all of this terminology first, thanks.

Iszak
05-02-2009, 08:25 PM
Methods are functions inside classes and is associated with Object Orientated Programming where as functions aren't in a class and are associated with procedural coding.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum