by #with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
Put_Line ("hello, ada!");
end Hello;
fn main() {
println!("hello, rust!");
}
#include <stdio.h>
int main() {
printf("hello, c!\n");
return 0;
}
#include <iostream>
int main() {
std::cout << "hello, c++!" << std::endl;
return 0;
}
class Hello {
static void Main(string[] args)
{
System.Console.WriteLine("hello csharp!");
}
}
class Main {
public static void main(String[ ] args) {
System.out.println("hello java!");
}
}
console.log("hello, javascript!");
<?php echo 'hello php!'; ?>
fun main(args: Array<String>) {
println("hello, kotlin!")
}
object Main {
def main(args: Array[String]): Unit = {
println("hello, scala!")
}
}
func main() {
fmt.Println("hello, go!")
}
main = putStrLn "hello, haskell!"
open System
printfn "hello, fsharp!"
section .data
hello: db 'hello asm!',10
helloLen: equ $-hello
section .text
global _start
_start:
mov eax,4
mov ebx,1
mov ecx,hello
mov edx,helloLen
int 80h
mov eax,1
mov ebx,0
int 80h;
print_string "hello ocaml!"
const name: string = "typescript";
console.log(`hello ${name}!`);
:- initialization(main).
main :- write('hello prolog!').
System.out.println("hello jshell!");
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
Put_Line ("hello, ada!");
end Hello;
import std.stdio;
void main()
{
writeln("hello, d!");
}
-module(helloworld).
-export([start/0]).
start() ->
io:fwrite("hello erlang!").
program hello
print *, "hello fortran!"
end program hello
#lang racket/base
(print "hello, racket!")
Public Module Program
Public Sub Main(args() As string)
Console.WriteLine("hello, vb!")
End Sub
End Module
(defn greetings [msg]
(println (format "Hello %s" msg)))
(greetings "clojure!")
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
PROCEDURE DIVISION.
DISPLAY 'hello cobol!'.
STOP RUN.
program Hello;
begin
writeln ('hello pascal!')
end.
CREATE TABLE Hello (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL
);
INSERT INTO Hello VALUES (1, 'hello, mysql!');
SELECT * FROM Hello WHERE id = '1';
CREATE TABLE Hello (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL
);
INSERT INTO Hello VALUES (1, 'hello, postgresql!');
SELECT * FROM Hello WHERE id = '1';
CREATE TABLE Hello (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL
);
INSERT INTO Hello VALUES (1, 'hello, sqlite!');
SELECT * FROM Hello WHERE id = '1';
db.helloworld.insertMany([
{id: 1, name: 'hello, mongodb' },
]);
db.helloworld.find({id: 1});
set key 'hello, redis!'
get key