Selasa, 21 September 2010

Fantom

Hello WorldWe start our whirlwind tour of Fantom's features, with the quintessential hello world:class HelloWorld{  static Void main()  {    echo("hello world")  }}Minor differences from Java or C# include:all type names are capitalized including Void (Fantom doesn't have primitives nor primitive keywords).Class and method protection scope default to public. Fantom sports the echo method for

Tidak ada komentar:

Posting Komentar