Djazuli Dev
1.17K subscribers
34 photos
120 files
101 links
Berbagi source code
Download Telegram
👨‍💻 "Hello World" in Different Coding Languages 🌍🔥

One of the first things beginners learn in programming is how to display:

"Hello, World!"

Although the output is the same, the syntax can be very different across programming languages.

🐍 Python

print("Hello, World!")

🌐 JavaScript

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

☕ Java

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


⚡ C++

cpp
#include <iostream>

int main() {
std::cout << "Hello, World!";
return 0;
}


🔵 C

c
#include <stdio.h>

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


💜 C#

csharp
using System;

class Program {
static void Main() {
Console.WriteLine("Hello, World!");
}
}


🦀 Rust

rust
fn main() {
println!("Hello, World!");
}


🐹 Go

go
package main

import "fmt"

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


💎 Ruby

ruby
puts "Hello, World!"


🟣 PHP

php
<?php
echo "Hello, World!";
?>


🟠 Kotlin

kotlin
fun main() {
println("Hello, World!")
}


🦜 Swift

swift
print("Hello, World!")`


What is your favourite coding language?👨‍💻

❤️ Python

👍 JavaScript

😍 Java

👌 C++

😂 C#

💯 Other