Hello World


Collapse Content

After installing IntelliJ IDEA, create a "Hello Java" project in it:

  1. Open IntelliJ IDEA
  2. Click "Create New Project"
  3. Name your project and click "Next" and "Finish"
  4. Create a new Java Class in the sidebar
  5. Add the Main method to your class. You can use type shortcut psvm and press tab to create the Main method.
  6. Type the code System.out.print("Hello Java"); in your Main method.
  7. Click Build -> Make Project on top to compile your project.
  8. Right-click the source code and click Run to run your program.
Contact Us
Sign in or email us at [email protected]