Java Coding
Resources
IDEs
Examples
Hello World
public class Hello { // the file name here would be Hello.java
public static void main(String[] args){
System.out.println("Hello hackers!"); // println prints with a new line
}
}
Last updated
Was this helpful?