< Beginning Java
HelloWorld.java
Below is the example of simple java program that writes "Hello, World!":
![]()
public class HelloWorld {
public static void main(String[] arguments) {
System.out.println("Hello, World!");
}
}
![]()
Hello, World!
Main Method
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.