0

what is the different between class and function?

20th Oct 2016, 3:56 PM
Ahmed AbdElRazek
Ahmed AbdElRazek - avatar
2 Respuestas
+ 2
class is the object an function is an method
27th Oct 2016, 11:12 PM
Dennis Glowiszyn
Dennis Glowiszyn - avatar
+ 2
class is an entire blueprint of an object and method is a part and an action in the class Example: class named Human and you create what humans do as methods inside the class methods (AKA functions) of human class: eat, drink, sleep ...
2nd Nov 2016, 3:28 PM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar