Question
Which variables have a scope limited to a method?
- A. Interface variables
- B. Class variables
- C. Instance variables
- D. Local variables
D.
Note
Only local variables have such a small scope, making Option D the correct answer.
PreviousNextRelated