I was wondering if anyone of you would help me.
Are variables that are defined at the start of the mainMethod() Local or Instance?
As I understand it, variables in a method are classed as Local.
Variables defined in a class, but outside all methods are called Instance variables.
So that would make the variables inside mainMethod() Local.
But mainMethod() is a bit special, so I'd like to double check.