New post Need visibility? Apply for a FREE post for your Startup.  Apply Here

Now you know

Output “Hello World” in 20 popular programming languages

1 Mins read

Greetings, fellow coding enthusiasts!

Today, we embark on an exciting adventure through the world of programming languages. Get ready to unleash “Hello World” in some of the most popular programming languages, from the battle-tested C to the modern marvels of Swift and Kotlin.

Whether you’re a seasoned developer or just starting your coding journey, this list of “Hello World” in different programming languages with definitely excite you.


#include <stdio.h>

int main() {
   printf("Hello World");
   return 0;


print("Hello World")


console.log("Hello World");


puts "Hello World"


using System;

class HelloWorld {
   static void Main() {
      Console.WriteLine("Hello World");


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


package main

import "fmt"

func main() {
   fmt.Println("Hello World")


fun main() {
   println("Hello World")


echo "Hello World";


import Swift

print("Hello World")


fn main() {
   println!("Hello World");


console.log("Hello World");


print("Hello World')


disp('Hello World")


print "Hello World\n";


object HelloWorld {
   def main(args: Array[String]) {
      println("Hello World")


print("Hello World")


void main() {
   print("Hello World");


<!DOCTYPE html>
      <h1>Hello World</h1>

And that’s it! Hello World in 20 programming languages. From the timeless elegance of C to the modern marvels like Swift and Kotlin, each language brings its unique flair and functionality to the vast coding landscape.

Each programming language opens doors to endless possibilities, allowing you to create powerful applications, websites, and software. So, embrace your newfound knowledge, experiment with these languages, and let your coding adventure flourish.

Don’t miss any tech news ever!

We don’t spam! Read our privacy policy for more info.

761 posts

About author
When I'm not reading about tech, I'm writing about it, or thinking about the next weird food combinations to try. I do all these with my headphones plugged in, and a sticky note on my computer with the words: "The galaxy needs saving, Star Lord."
Related posts
Now you know

CBN to introduce new tools to fight POS fraud

1 Mins read
The Central Bank of Nigeria (CBN) is collaborating with banking and payments industry groups to implement new anti-fraud measures for point-of-sale (POS)…
Now you know

What you need to know about Google's new AI-Powered search features

1 Mins read
Google recently announced two new AI-powered search features for Android smartphones. This feature allow users to get information by simply circling, highlighting…
Now you know

How to protect yourself from Man-in-the-Middle cyber attacks

2 Mins read
Man-in-the-middle (MITM) attacks pose a sneaky threat in today’s connected world. This cyber attack works by secretly intercepting communication between two parties….
Newsletter Subscription

🤞 Don’t miss any update!

We don’t spam! Read more in our privacy policy

Join our Telegram channel here -

Leave a Reply

Foreign startupsNewsNow you knowRandom

Dallas-Based Yendo Raises $24M In Series A Funding Round