Check out example codes for "instance in programming". It will help you in understanding the concepts better.

Code Example 1

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.

Learn ReactJs, React Native from