DEV Community

Vikrant
Vikrant

Posted on

Hello, World!

Hello DEV, this is my first post

Top comments (1)

Collapse
 
ezekiel_77 profile image
Ezekiel
  1. Python:
   print("Hello, World!")
Enter fullscreen mode Exit fullscreen mode
  1. JavaScript:
   console.log("Hello, World!");
Enter fullscreen mode Exit fullscreen mode
  1. Java:
   public class HelloWorld {
       public static void main(String[] args) {
           System.out.println("Hello, World!");
       }
   }
Enter fullscreen mode Exit fullscreen mode
  1. C++:
   #include <iostream>

   int main() {
       std::cout << "Hello, World!" << std::endl;
       return 0;
   }
Enter fullscreen mode Exit fullscreen mode
  1. Ruby:
   puts "Hello, World!"
Enter fullscreen mode Exit fullscreen mode
  1. PHP:
   <?php
   echo "Hello, World!";
   ?>
Enter fullscreen mode Exit fullscreen mode
  1. Swift:
   print("Hello, World!")
Enter fullscreen mode Exit fullscreen mode
  1. Go:
   package main

   import "fmt"

   func main() {
       fmt.Println("Hello, World!")
   }
Enter fullscreen mode Exit fullscreen mode
  1. C#:
   using System;

   class HelloWorld {
       static void Main() {
           Console.WriteLine("Hello, World!");
       }
   }
Enter fullscreen mode Exit fullscreen mode
  1. Bash:
   echo "Hello, World!"
Enter fullscreen mode Exit fullscreen mode