In most C family languages, including Java, variables can be declared, modified, and accessed from very specific locations in the code. This is referred to as variable scope. Generally there are 3 levels of scope: Global Scope, Method Scope (often called Local Scope), and Block Scope.