What do we call an instance of a class in Java -


a question homework assignment asks

what call instance of class in java?

the choices are:

a. method
b. package
c. object
d. variable

i think it's variable because instance word object, , objects have variables. answer correct?

the definition of object in object oriented programming instance of class. answer should c. object.

a variable reference doesn't have instance of class. primitive type, example.


Comments