Results 1 to 3 of 3
Thread: problems with Instance Data
- 08-02-2007, 02:29 PM #1
Member
- Join Date
- Jul 2007
- Posts
- 41
- Rep Power
- 0
- 08-02-2007, 02:33 PM #2
Member
- Join Date
- Jul 2007
- Location
- England, Bath
- Posts
- 47
- Rep Power
- 0
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:
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.Java Code:Object object = new Object();
Does this make more sense now?
- 08-02-2007, 05:45 PM #3
Member
- Join Date
- Jul 2007
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
passing an array into an instance
By lockmac in forum New To JavaReplies: 1Last Post: 08-08-2007, 09:35 AM -
New Instance for SWT
By srinivasa_v in forum SWT / JFaceReplies: 1Last Post: 08-08-2007, 01:02 AM -
Problems with Jtable connected to data base
By elizabeth in forum AWT / SwingReplies: 2Last Post: 08-07-2007, 04:24 PM -
Problems when I try to connect to data base
By gabriel in forum JDBCReplies: 1Last Post: 08-06-2007, 05:38 PM -
Instance variable
By Jack in forum New To JavaReplies: 2Last Post: 07-04-2007, 04:00 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks