instance of a class vs object code example
Example: instance vs object
An instance of a class and an object mean the same thing
and can often be used interchangeably
Color(Class) ___Create Instance__>> Red(Object)
_________Ex.__________
Color red = new Color();
red is a (instance and object).