Tuesday, February 10, 2015
Hello World Program in Eight Different Popular Programming Languages
This fact is true that Hello World program is the first program that a programmer writes when he/she start learning a new programming language. Today I thought that I should share the hello world program in different languages. A video is also added for easy understanding of the programs. Let’s take a look on these programs.


Hello World Program in Java
class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}
Hello World Program in C
#include<stdio.h>
main()
{
printf("Hello World");
}
Hello World Program in C++
#include <iostream>
int main()
{
std::cout << "Hello, world";
}
Hello World Program in Javascript
<script>
window.onload = function()
{
document.getElementById(result).innerHTML = "Hello World";
}
</script>
<div id="result></div>
Hello World Program in HTML
Hello World Program in Python
Hello World Program in Perl
Hello World Program in Ruby
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.