+ 2
When would a programmer need Anonymous class?
need of anonymous classes in business code writing
1 Antwort
+ 9
You use an anonymous class if you don't need the created object later in your code. Example:
https://code.sololearn.com/cWXx7MZCk8Q3/?ref=app