I am wondering if it is possible to create an array of a Java anonymous class. For example, I try this code:
final var an