No items found.

Source: Hacker Rank
Published: April 2015

Hello, World

Circulated: September 8, 2020

Hello, World” is often the first program written by people learning to code. It lets programmers know that their code can compile, load, run, and output.

The origin traces back to a Bell Laboratories memo written by Brian Kernighan in 1974. Here’s what the code looks like in some programming languages currently in use.

C#
using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(“Hello, world!”);
}
}

Python
print(“Hello, world!”)

Java
class HelloWorld {
public static void main(String[] args) {
System.out.println(“Hello, world!”);
}
}

Find Similar Facts

Most Shared Facts

View All Facts