Class is an unsubstantiated instance of a Object
Class, as a concept, and the object is the embodiment of that concept. You need to have a class before you can create an object.
So, let's say you want to use a person in your Application
. You want to be able to describe the person and have the person do something. A Class called 'person' would provide a blueprint for what a person looks like and what a person can do. To actually use a person in your Application
, you need to create an object
. You use the person Class to create an object
of the type 'person.' Now you can describe this person and have it do something using Methods
There might be more information for this subject on one of the following: