Brain Overflow
Facts

Hello world - Match the language

James Bayliss
#facts#tech#general

🧠 Hello World

Which programming language uses this syntax to print 'Hello, World!'?

print("Hello, World!")

Which programming language uses this syntax?

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

Which language prints 'Hello, World!' like this?

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

Which language is this?

puts 'Hello, World!'

Which programming language uses this syntax?

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

Which language is shown here?

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

Which language prints 'Hello, World!' like this?

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

Which programming language uses this syntax?

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

Which programming language uses this syntax?

fun main() {
    println("Hello, World!")
}
← Back to Quizzes