Can not select class

Answered

I can not click "OK" to select main class

0
4 comments

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

0
Avatar
Permanently deleted user

 

My void is red_undeerlined, is it real problem

0

Your code is missing class declaration.

 

public class Main {

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

}
1
Avatar
Permanently deleted user

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.