my first Java program
Answered
Hello, I've followed the tutorial, but I don't understand why in the tutorial she gets
"public class HelloWorld { ... "
and I get
"public class Main { ..."
There's no way to force it in a different way.
bye
Please sign in to leave a comment.
In your case, Main is a class name. To change it you can right-click the class on the Project Tool window and perform (Refactor | Rename...) action. (http://prntscr.com/ukezsf)
Please see our tutorial for more information on how to build a first app https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html .