ev4n
ev4n

Menu

Close

Hello World

You've seen so many videos and blogs mention 'Hello World', but do you really know what it means?

Back

Welcome to the world of programming! If you're new here, "Hello World" is often the very first program that developers write when learning a new language or tool. It might seem simple, but this small program represents the first step in your coding journey.

What is "Hello World"?

"Hello World" is basically a way to make sure that everything is working as expected. When you write and run this program, it outputs the phrase "Hello, World!" to the screen. Every programming language has its own syntax for doing this.

A Simple Example in Python:

print("Hello, World!")

Other Languages

Here’s how you’d write "Hello World" in some other languages:

JavaScript:

console.log('Hello, World!');

C++:

#include <iostream>
using namespace std;

int main() {
    cout << "Hello, World!";
    return 0;
}

Java:

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

Written by

ev4n

At

Fri Sep 20 2024