Created
April 1, 2011 18:25
-
-
Save Porta/898604 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hello World in Java | |
class HelloWorld { | |
static public void main( String args[] ) { | |
System.out.println( "Hello World!" ); | |
} | |
} | |
############################################################################################# | |
//Hello World in C# | |
class HelloWorld | |
{ | |
static void Main() | |
{ | |
System.Console.WriteLine("Hello, World!"); | |
} | |
} | |
############################################################################################# | |
// Hello World in C++ (pre-ISO) | |
#include <iostream.h> | |
main() | |
{ | |
cout << "Hello World!" << endl; | |
return 0; | |
} | |
############################################################################################# | |
# Hello World in Ruby | |
puts "Hello World!" | |
############################################################################################# | |
<?php | |
// Hello World in PHP | |
echo 'Hello World!'; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment