What's the difference between a local and a global variable?
A global variable can be accessed from anywhere within the program whereas a local one can only be accessed from within the method it's declared in.
JH
A global variable can be accessed from anywhere within the program whereas a local one can only be accessed from within the method it's declared in.