Answer:
The answer is "Block scope".
Step-by-step explanation:
In the programming, the scope is a code, in which it provides the variable ability to exist and not be retrieved beyond variable. In this, the variables could be defined in 3 locations, that can be described as follows:
- Inside a method or the block, which is also known as a local variable.
- Outside of the method scope, which is also known as a global variable.
- Defining parameters for functions known as formal parameters.