Anonymous classes | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Anonymous classes

Are we able to change every class within another method, therefore making all classes anonymous classes?

9th Feb 2017, 9:44 AM
Rizbir Khan
Rizbir Khan - avatar
1 Respuesta
+ 4
There must be at least one class, which contains the method which contains all of your anonymous classes ;) You can't do that if you need to declare and use a new class.
13th Feb 2017, 4:12 PM
Tamás Barta
Tamás Barta - avatar