What is a variable?
A label for an area of memory used to store data
What is a class?
A template for an object
How do you declare a variable?
State the type and the name of the variable.
e.g.
int num;
String name;
How do you initialise a variable?
Provide a declared variable with an initial, startup value - often 0 or an empty String. Usually the syntax is in the following format “datatype variablename = value”
Why do you need to initialise a variable?
To make sure that it has a value that can be evaluated or used.