Hello World

Table of contents

In this Blog will be displaying Hello World! using Commonly Used Programming Languages.

JS

Several ways to print Hello World in JS

  console.log("Hello World!");
  document.write("Hello World!");
  alert("Hello World!");

Python

print("Hello World!")

Java

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

C

#include<stdio.h>
int main() {
  printf("Hello World!");
  return 0;
}

C++

#include <iostream>
int main()
{
    std::cout<<"Hello World";
    return 0;
}