1. 程式人生 > >Difference between object and class

Difference between object and class

1. object is the instance of a class.  class defined the blueprint or template of a object, include its behavior and/or perproies.

2. object is a physical entity, class is logic/abstract entity

3. object could be created many times, class only be declared once