HelloWorld/HelloWorld.java

32 lines
675 B
Java
Raw Normal View History

2019-04-15 15:58:35 -05:00
import java.lang.System;
/*
* File: HelloWorld.java
2019-04-15 15:58:35 -05:00
*
* Description: This file exemplifies printing 'Hello world!' in Java.
2019-04-15 15:58:35 -05:00
*
* Package: AniNIX::Foundation/HelloWorld
* Copyright: WTFPL
*
* Author: DarkFeather <darkfeather@aninix.net>
*/
/// 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();
}
}