English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-07-16 00:18:40 · 4 answers · asked by Paolo 1 in Computers & Internet Programming & Design

4 answers

Take for example the blueprints of a house. You can build several identical houses using the same blueprints. In our case, in OO programming, think of the class like the blueprint and think of the houses like the objects. Each house is an instance of that blueprint. Each object is an instance of that class. The action of creating an object from a class it is called instantiation!

2006-07-16 01:54:22 · answer #1 · answered by pari 2 · 0 0

Instantiation is the process of telling a class to create an instance of itself. A class is like a template that describes defauits and behaviour for all examples of its instances.

2006-07-16 07:22:35 · answer #2 · answered by poorcocoboiboi 6 · 0 0

The act of creating an ‘instance’ of a generic unit by replacing its formal parameters by a set of matching actual parameters and In programming, to produce a more defined version of an object by replacing variables with values (or other variables). As used in logic programming, this means to bind a logic variable (type variable) to some value (type).

2006-07-16 07:22:17 · answer #3 · answered by 942 5 · 0 0

In Object Oriented Programming (OO), instantiation (check your spelling) is the creation of an object of a particular class.

For example, if your program or SDK has a class called "pull down menu", you can "instantiate" an instance of that class and give it a name, like "Selection Menu" and properties, like, "Edit", "View"...

2006-07-16 07:24:58 · answer #4 · answered by Joe Rockhead 5 · 0 0

fedest.com, questions and answers