Java Coding

Resources

IDEs

Examples

Hello World

1
public class Hello { // the file name here would be Hello.java
2
public static void main(String[] args){
3
System.out.println("Hello hackers!"); // println prints with a new line
4
}
5
}
Copied!
Last modified 9mo ago