DEV Community

Himanshu Vishwas
Himanshu Vishwas

Posted on

Hello, World! In different world...

Python
print("Hello, World")

C
#include
int main()
{
printf("Hello, World!");
return 0;
}

C++
#include
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}

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

javascript
console.log("Hello, World!");

Ruby
puts "Hello, World!";

Go
package main
import "fmt"

func main() {
fmt.Println("Hello, World!")
}

C#
using System;

public class HelloWorld
{
public static void Main(string[] args)
{
Console.WriteLine ("Hello, World!");
}
}

R
"Hello World!"

Swift
print("Hello World")

will add more in the collection.

Top comments (0)