Is it possible to create an anonymous class, if the class has no default constructor?

Is it possible to create an anonymous class, if the class has no default constructor?
The answer is Yes, because in the anonymous class is not used a constructor, so the class has no name. Right?
April 19th 20 at 12:10
1 answer
April 19th 20 at 12:12
Solution
In all classes there is always a designer. If you do not specify it explicitly, the compiler will do it for you. Including for anonymous classes.

Find more questions by tags Java