0
What is anonymous object in java and where do we use it?
2 Respostas
+ 7
Anonymous classes are a way to extend the existing classes on the fly.
also, theres a lesson in the java course about this
0
They were used to pass around code as arguments for other functions. Nowadays I'd use a lambda for that.