HelloWorld/HelloWorld.java

33 lines
671 B
Java

import java.lang.System;
/*
* File: helloworld.cs
*
* Description: This file exemplifies printing 'Hello world!' in C#.
*
* Package: AniNIX::Foundation/HelloWorld
* Copyright: WTFPL
*
* Author: DarkFeather <darkfeather@aninix.net>
*/
/// This class is used exemplify coding standard in C#.
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();
}
}