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

0
1 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 .

1

Please sign in to leave a comment.