A local variable is a variable, which is defined in the scope of a method. Local variables are not accessible anymore, when the method has been left.