Yes it does.

However, a variable must be declared BEFORE it is used in the program.