Computer Applications
What are variables? How are they different from Constants?
Java Intro
36 Likes
Answer
A variable is a named location in the memory which stores data temporarily. A variable has a unique name, a type and a size that is used to identify it in a program.
Difference between variables and constants is that the value of variables can change during the execution of the program whereas value of constants are fixed and does not change during program execution.
Answered By
22 Likes