software:java:java

Projects in Java

Using a basic Java example below, you can follow the steps and apply to your filename.java. Remember Unix is case sensitive so it is very important for the filename HelloWorld.java match the class name defined in the file as HelloWorld.

HelloWorld.java
public class HelloWorld
{
  public static void main(String[] args)
  {
    System.out.println("Hello, World!");
  }
}
  • software/java/java.txt
  • Last modified: 2018-09-09 11:26
  • by anita