Variable
A variable is a way to store data that can be used and changed throughout a program.
Think of a box with a label (the variable’s name). You can put an object (its value) inside and change it later if needed.
A variable is a way to store data that can be used and changed throughout a program.
Think of a box with a label (the variable’s name). You can put an object (its value) inside and change it later if needed.