4 comments
Comment actions Permalink

Please report bug in issue tracker with more details, thanks. https://youtrack.jetbrains.com/issues/IDEA

0
Comment actions Permalink

 

My void is red_undeerlined, is it real problem

0
Comment actions Permalink

Your code is missing class declaration.

 

public class Main {

  public static void main ..... [ rest of your code]

}
1
Comment actions Permalink

Thank You Yann Cebron

It was my first hello world code so i had not defined class. Now it works.

0

Please sign in to leave a comment.