This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes instance of class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "instance of class" Watch "instance of class" New topic

instance of class

mariah noor

Joined: Nov 02, 2001
Posts: 1
can any buddy give me brief information about instance of class
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
An instance of a class is the same thing as saying an object of a particular class. The class itself can be considered a template for a particular kind of object. Instances/objects of the class type are created, and they will contain all the components belonging to the class.
I am sure somoene else can add some more...


So much trouble in the world -- Bob Marley
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
An instance of a class (an object) exists on the heap and holds the STATE of the instance (the value of it's member fields) at any given time.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: instance of class
Similar Threads
object and instance
what is diff betwn Object and instance
Doubt regarding Inner Class
Inner and outer class instances
Regular Inner class