I don't see any functionality in an anonymous class.
Could someone explain to me what it can help me with?
Unfortunately, I don't get it. Of course I read its documentation in Oracle, but I don't see a use in production that works, I see it as if it were a method.