View Single Post
  #2 (permalink)  
Old 08-02-2007, 04:33 PM
shanePreater shanePreater is offline
Member
 
Join Date: Jul 2007
Location: England, Bath
Posts: 47
shanePreater is on a distinguished road
WHen you have a class like Object this is a blueprint of what all objects are like an instance of a class (instance data) is a particular variable of this type which has state you create instances in several ways but essentially they all boil down to:
Code:
Object object = new Object();
We have created an instance of the Object class called object by using the new operator and the () means we are using the default constructor.

Does this make more sense now?
__________________
Shane Preater -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote