In anonymous classes, we can capture variables from the context where it's defined. However, there are some considerations. What are they? Choose the ones that are correct.
Computer scienceProgramming languagesJavaCode organizationObject-oriented programmingOther conceptsNested classes
Anonymous class
What about context?
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.