Question: what is the difference between object and variable?
Answer: Variable is a named storage of some data type(like int, float etc). And Objects are variables of data types that are user defined. So we say that an object is an instance of a class. And class is nothing but a user defined data type.