2019-04-15 15:58:35 -05:00
|
|
|
import java.lang.System;
|
|
|
|
|
|
|
|
/*
|
2019-04-15 16:21:46 -05:00
|
|
|
* File: HelloWorld.java
|
2019-04-15 15:58:35 -05:00
|
|
|
*
|
2019-04-15 16:21:46 -05:00
|
|
|
* Description: This file exemplifies printing 'Hello world!' in Java.
|
2019-04-15 15:58:35 -05:00
|
|
|
*
|
2021-12-01 13:12:27 -06:00
|
|
|
* Package: AniNIX/HelloWorld
|
2019-04-15 15:58:35 -05:00
|
|
|
* Copyright: WTFPL
|
|
|
|
*
|
2021-12-01 13:12:27 -06:00
|
|
|
* Author: DarkFeather <ircs://aninix.net:6697/DarkFeather>
|
2019-04-15 15:58:35 -05:00
|
|
|
*/
|
|
|
|
|
2019-04-15 16:21:46 -05:00
|
|
|
/// This class is used exemplify coding standard in Java
|
2019-04-15 15:58:35 -05:00
|
|
|
public class HelloWorld {
|
|
|
|
|
|
|
|
// String to print
|
|
|
|
private static String _helloWorld = "Hello world!";
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Print 'Hello world!'
|
|
|
|
/// </summary>
|
|
|
|
public static void PrintHelloWorld() {
|
|
|
|
System.out.println(_helloWorld);
|
|
|
|
}
|
|
|
|
|
|
|
|
/// MAIN
|
|
|
|
public static void main(String[] args) {
|
|
|
|
PrintHelloWorld();
|
|
|
|
}
|
|
|
|
}
|