3 ms·
If you have an anonymous class, it can’t be referenced from elsewhere (it has no defined class name) so it is strictly only for small projects, which is imo the
by kaba0 4y ago
If you have an anonymous class, it can’t be referenced from elsewhere (it has no defined class name) so it is strictly only for small projects, which is imo the correct choice.
But it is easy to “name” it when the program have to grow.