MCQs > IT & Programming > Java > For a class defined inside a method, what rule governs access to the variables of the enclosing method?

Java MCQs

For a class defined inside a method, what rule governs access to the variables of the enclosing method?

Answer

Correct Answer: The class can only access final variables

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it