A variable is a name that you give to a place to store a value in memory. When you declare a variable name, you say what type the values will be. |
Declare 3 variables of type integer: There are many other types: |
int x; |
int y; |
int size; |
Or all at once for variables |
of the same type: |
int x, y, size; |
String s; |
Font f; |
Color c; |