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()'
solved IntelliJ IDEA not correct Run java project [closed]