Start learning →

What scoping strategy does the Java language use for variable resolution?

AEphemeral scope
BDynamic scoping
CLexical scoping
DRuntime scoping
Answer & Solution
Correct answer: C. Lexical scoping
Java relies on lexical scoping determined by static structure of program text.
Practise this question with Quill — ICSE Class 10 →

Keep practising Classes, Encapsulation and Scope

Browse all Classes, Encapsulation and Scope questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Classes, Encapsulation and Scope lesson →