Question: Which variables have a scope limited to a method? A. Interface variables B. Class variables C. Instance variables D. Local variables
Which variables have a scope limited to a method?
A. Interface variables
B. Class variables
C. Instance variables
D. Local variables
Step by Step Solution
3.33 Rating (156 Votes )
There are 3 Steps involved in it
The answer is D Local Variables Local variables are declared within a method constructor or block o... View full answer
Get step-by-step solutions from verified subject matter experts
