[Solved] I get bugs in whatever i write on my editor using inteliJ in Java.(maybe an IDE problem?) [duplicate]

[ad_1]

Just get your a() method declaration out of the main :

public class asdf {

    public static  void main(String[] args) { 
       a();
    }

    static void a() {
       System.out.println("asdfff");
    }  
}

0

[ad_2]

solved I get bugs in whatever i write on my editor using inteliJ in Java.(maybe an IDE problem?) [duplicate]