answersLogoWhite

0


Best Answer

A variable basically holds a single type literal in memory through defining its type, declaring it, and setting a value to it. If you meant reference variables, they are variables which refer to the memory location of an object previously set.

An object is the actual storage space in memory in which some collection of data resides (is stored). Objects 'live' in memory spaces known as 'heaps'.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between object and variable?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between struct variable and class object?

structure variable can access the variable but class object can access the function also


What is the difference between a variable and a control?

a control is a object that cant be changed in an experiment and a variable is a object that can be changed in a expirament


What is the difference between object and variable in c?

There is no objects in C.


What is the difference between individual and a variable?

An individual is a member of the population of interest. A variable is an aspect of an individual subject or object being measured.


The difference between fixed and variable inputs?

difference between fixed and variable inputs


What is the difference between a control variable and a control treatment?

what is the difference between a variable and a control


Difference between variable resistor and rheostat?

The difference between a variable resistor and a rheostat is the same as the difference between six and half a dozen.


What the difference between a variable and control?

The difference between a controlled variable and a variable is in their state. A controlled variable is something which is rigid and constant while a variable is liable to change and inconsistent.


WAP to show the difference between a variable and static variable?

difference between constant and static variables in java


What is the difference between a variable being tested and a variable being controlled?

The difference between these both is that the control is what stays the same in an experiment and the variable is what changes.


What is one difference between a variable and a numerical expression?

The variable.


In oops what is the difference between class variable and variable?

Class Variable is a subset of Variables.