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

5 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
Everyone here has completely over complicated a very simple concept. I actually know what I'm talking about from experience and not just from reading textbooks. Instantiate or the instantiation of something is just a fancy way of saying the word create. It's literary that simple, instantiation = create or to create. 

Oh yea, I forgot to mention, instantiation is used in every programming language that a variable is created, not just object oriented languages. Idk why that part was mentioned in the answer. 

It amazes me how these people complicate something so simple. The people who come on this site looking to understand things, do not want to get on here and read over complicated answers to something they are clearly not that familiar with, so stop writing like that.
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

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

  • buffer underflow

    Buffer underflow, also known as buffer underrun or buffer underwrite, is a threat to data that typically occurs when the ...

  • digital signature

    A digital signature is a mathematical technique used to validate the authenticity and integrity of a message, software or digital...

  • denial-of-service attack

    A denial-of-service attack is a security event that occurs when an attacker prevents legitimate users from accessing specific ...

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

  • secondary storage

    Secondary storage is storage for noncritical data that does not need to be frequently accessed.

  • Pure Storage

    Pure Storage is a provider of enterprise data flash storage solutions designed to substitute for electromechanical disk arrays.

  • yobibyte (YiB)

    A yobibyte (YiB) is a unit of measure used to describe data capacity as part of the binary system of measuring computing and ...

Close