what is the instance code example
Example: instance in programming
An instance, in object-oriented programming (OOP),
is a specific realization of any object.
An object may be varied in a number of ways.
Each realized variation of that object is an instance.
The creation of a realized instance is called instantiation.