After clicking Run, I see this:
How to remove it and display the result:
System.out.print ("ASdsddasad");
Or is it an IntelliJ IDEA bug?
You are running test class, for that reason you cannot see "ASdsddasad"
. To run the main java class, you can click on green arrow from public static void main(String[] args)
method and choose Run 'Main.main()'
or you can right click on any part of your class and choose the same option Run 'Main.main()'