Answer:
The correct answer for the given question is Option(D).
Explanation:
A local variable is those which are declared inside the method. The scope of the local variable is local means it will access only that function. They are not accessed outside the function.
There are some features of Local variable which are given below:
- The local variable is hidden from the other function.
- The local variable sometimes have same name as the global variable
So all Option(a),Option(b) and Option(c) are correct.