Browse Definitions :
Definition

instantiation

Contributor(s): John MacLeod

In programming, instantiation is the creation of a real instance or particular realization of an abstraction or template such as a class of objects or a computer process. To instantiate is to create such an instance by, for example, defining one particular variation of object within a class, giving it a name, and locating it in some physical place.

1) In object-oriented programming, some writers say that you instantiate a class to create an object, a concrete instance of the class. The object is an executable file that you can run in a computer.

2) In the object-oriented programming language, Java, the object that you instantiate from a class is, confusingly enough, called a class instead of an object. In other words, using Java, you instantiate a class to create a specific class that is also an executable file you can run in a computer.

3) In approaches to data modeling and programming prior to object-oriented programming, one usage of instantiate was to make a real (data-filled) object from an abstract object as you would do by creating an entry in a database table (which, when empty, can be thought of as a kind of class template for the objects to be filled in).

This was last updated in September 2005

Join the conversation

4 comments

Send me notifications when other members comment.

Please create a username to comment.

You said, "In the object-oriented programming language, Java, the object that you instantiate from a class is, confusingly enough, called a class instead of an object." This is complete nonsense. An object instantiated from a class is not called a class, it is an object of that class. The class is simply a blueprint for an object (which is a consequence of the fact that ALL Java classes are in fact sub-classes of java.lang.Object, and inherit its characteristics).

You guys need to hire better writers.
Cancel
Thanks for clearing that up. I was laboring under the same idea,that objects are instantiated from classes in Java. It wouldn't be object-oriented if that weren't true would it?
Cancel
You are welcome. Yes, objects are instantiated from classes. I have two degrees in computer science and Java is my favorite language, so I should be able to get something as basic as that right. So should these guys, honestly.

This seems to be one of those bulk writing sites where they hire anyone just to drive in traffic. A lot of what they say is totally wrong. I would steer clear of it in the future. Good luck!
Cancel
Hey Kallaste, do you mind giving me your email address? I want to ask ajva related questions. Thanks
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

  • Whistleblower Protection Act

    The Whistleblower Protection Act of 1989 is a law that protects federal government employees in the United States from ...

  • smart contract

    A smart contract, also known as a cryptocontract, is a computer program that directly controls the transfer of digital currencies...

  • risk map (risk heat map)

    A risk map, also known as a risk heat map, is a data visualization tool for communicating specific risks an organization faces. A...

SearchSecurity

  • Payload (computing)

    The term payload, when used in the context of networking or telecommunications, is the data carried inside of a packet (or other ...

  • access control

    Access control is a security technique that regulates who or what can view or use resources in a computing environment.

  • ethical hacker

    An ethical hacker, also referred to as a white hat hacker, is an information security expert who systematically attempts to ...

SearchHealthIT

SearchDisasterRecovery

  • virtual disaster recovery

    Virtual disaster recovery is a type of DR that typically involves replication and allows a user to fail over to virtualized ...

  • tabletop exercise (TTX)

    A tabletop exercise (TTX) is a disaster preparedness activity that takes participants through the process of dealing with a ...

  • risk mitigation

    Risk mitigation is a strategy to prepare for and lessen the effects of threats faced by a data center.

SearchStorage

  • storage at the edge

    Storage at the edge is the collective methods and technologies that capture and retain digital information at the periphery of ...

  • Flash Storage

    Flash storage is any type of drive, repository or system that uses flash memory to keep data for an extended period of time.

  • optical disc

    An optical disc is an electronic data storage medium that can be written to and read from using a low-powered laser beam.

Close