MCQs>IT & Programming>Java>A nested class declared inside a block (a local class) can access other variables defined in its immediately enclosing scope, but only when they are:
Java MCQs
A nested class declared inside a block (a local class) can access other variables defined in its immediately enclosing scope, but only when they are:
Answer
Correct Answer: final
Explanation:
Note: This Question is unanswered, help us to find answer for this one