scope

 

  catch blocks are always outside their try block’s scope. 

 

  The scope of a catch’s variable is confined to the catch block. 

 

  In a for loop, the scope of the initialization variable ends at the end of the loop code. 

 

  Method variables have a scope of their method and are not accessible outside their method.