In which process, a local variable has the same name as one of the instance variables?
A. Serialization
B. Variable Shadowing
C. Abstraction
D. Multi-threading
Answer:B
In which process, a local variable has the same name as one of the instance variables?
A. Serialization B. Variable Shadowing C. Abstraction D. Multi-threading
Explanation: There are following reasons for considering a variable shadowing, they are listed below: