Monthly Archives: June 2007

Hello World! in different languages.

In Java: class HelloWorldApp { public static void main(String[] args) { System.out.println(“Hello World!”); } } —————- In PHP <?PHP echo “Hello World!”; ?> —————- In C: #include <stdio.h> main(){ printf (“Hello World!n”); } —————- In C++: #include <iostream.h> main(){ cout << “Hello World! “; } —————- In Pascal: Program Hello (Input, Output); Begin Writeln (‘Hello […]

Read more