When trying to execute, it shows the following error:
Line: 17, Column: 27
static can only be used on methods of a top level type
4 respuestas
Eric Burté (DEVOTEAM) Forum Ambassador
Hello @Rafael Moskorz that seems that you have declared static a method of an inner class (a class within another class). Please either remove the static aspect if relevant, or try to integrate the inner class part / the static method (if relevant) within the top level class.
Eric