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!"); } }