Instance - Research Article from World of Computer Science

This encyclopedia article consists of approximately 1 page of information about Instance.
Encyclopedia Article

Instance - Research Article from World of Computer Science

This encyclopedia article consists of approximately 1 page of information about Instance.
This section contains 131 words
(approx. 1 page at 300 words per page)

An instance is an individual object of a certain class. A class is a template for and object and an object is an instance of a class.

A few examples:

  • Dog are a class of animals. Dogs represent the template and animals represent the object. Dalmatians and German Shepherds an instances.
  • Sports cars are a class of vehicles. Sport cars represent the template and vehicles represent the object. Mustangs and Corvettes are instances.
  • Refrigerators are a class of Kitchen Appliances. Refrigerators represent the template and Kitchen Appliances represent the objects. Kenmore and GE are instances.

Note that all the instances are not specific. The instances could also be considered as objects. For example we could have red Mustangs as a class of Mustangs. Now, the Mustang is the object.

This section contains 131 words
(approx. 1 page at 300 words per page)
Copyrights
Gale
Instance from Gale. ©2005-2006 Thomson Gale, a part of the Thomson Corporation. All rights reserved.