Saturday, October 10, 2015

Answer to: What is the difference between an Object and a Class?

Answer to: What is the difference between an Object and a Class?



Question: What is the difference between an Object and a Class?

Answer: An object is an instance of its class, for example, I am an instance of human; where I am an object and human is the class -- it is a simple answer good enough for newbies. Now, let's see a better answer: classes are static presentation of their objects; a class does not die before, during, and after the execution of its code. An object is built (instantiated) from its blueprint (class) to live and work for a while.
------------------------------------------
DEVELOPMENT  █▓▒░► OBJECT ORIENTED PROGRAMMING █▓▒░► BASIC CONCEPTS 

No comments:

Post a Comment