Answers for "instance vs object"

4

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).
Posted by: Guest on January-08-2021

Browse Popular Code Answers by Language