Month: April 2013

Hello World Program in C

Posted on Updated on

#include<conio.h>

void main()
{
int i;
for (i=0;i<10;i++)
printf(“Hello World ! \n”);
getch();
}

HelloWorld Program in PHP

Posted on Updated on

<!DOCTYPE html>
<html>
<body>
<?php
echo “Hello PHP World !”;
?>
</body>
</html>

Hello World Program in Java

Posted on Updated on

public class HelloWord{
public static void main(String arg[])throws Exception
{
System.out.println(“Hello Java World !”);
}
}

you have to save this program as HelloWorld.java
compile it with java compiler javac as follow
javac HelloWorld.java

Execute it as follow
java HelloWorld