Hello World!
August 02, 2010

We are Online!

The ubiquitous Hello World post is here to stay. For the sake of programming traditions, we're not removing it. But we do promise that our next posts will be more useful.

Below is a list of Hello World program examples in our favorite programming languages. Consult Wikipedia's Hello world program page if you're interested in additional info.

Enjoy!

 

PHP


<?php echo 'Hello World!'; ?>

 

JavaScript

document.write('Hello, world!');

 

HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hi!</title>
</head>
<body>
<p>Hello, world!</p>
</body>
</html>

 

Java

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

 

C

#include <stdio.h>
int main(void) {
    printf("Hello, world!\n");
    return 0;
}

Technology Development

Share this post


Written by
Mario Awad

Founder of SOFTKUBE, lead developer, and getting things done addict. Passionate about open source, user interface design, business development, and the tech world.

More about Mario Awad


About
SOFTKUBE

A small team of experts developing simple, usable, and high-quality web solutions. We blog about business, entrepreneurship, web development, and technology.

More about us


Recent Posts

Anne Pro 2 Wireless Mechanical Keyboard Fn Keys Cheat Sheet

HyperX Alloy FPS Pro Mechanical Keyboard Fn Keys Cheat Sheet

How to Measure the DPI of your Mouse without any Extra Software

A Couple of Thought Provoking Concepts by Neil deGrasse Tyson

View all posts


All Posts Categories

Business Cheat Sheets CLI Development Downloads Drupal Email Google Apps HID Keyboards Multilingualism Open Source Philosophy PHP Pointing Devices Quotes Science Security SEO Technology Thoughts Windows Zend Framework