Home > Software design >  What is main class in idea Project?
What is main class in idea Project?

Time:11-28

I am creating new project in idea. I did not write any code yet, but I am trying to setup executable jar. What is the main class? There is this example file, but it doesnt allow me to select it. using gradle, selenide.main_class_selector

CodePudding user response:

main class is the one that has public static void main(String[] args). I did not have such class.

CodePudding user response:

the main class is under src folder, right above "test"

  • Related