C
# include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}
C++
# include <iostream>
using namespace std;
int main()
{
cout << "Hello, World!";
return 0;
}
Java
public class SayHello
{
public static void main(String[] args)
{
System.out.print("Hello, World!");
}
}
JavaScript
(function(){
console.log("Hello, World!");
})();
Python
print("Hello, World!")
Lua
print("Hello, World!")
Ruby
p("Hello, World!")
HTML
<span> Hello, World! </span>
CSS
body:after { content: "Hello, World!"; }
PHP
<?php
echo "Hello, World!";
?>
Go
package main
import "fmt"
func main () {
fmt.Print("Hello, World!")
}
BASIC
10 PRINT "Hello, World!"
20 END
Kotlin
package SayHello
fun main (args: Array) {
print("Hello, World!")
}
Batch (@제르님 추가)
@echo off
title "Hello, World!"
echo "Hello, World!"
VBS (@제르님 추가)
MsgBox "Hello, World!", 0, "Hello, World!"
AutoHotKey (@이니스프리님 추가)
Msgbox Hello, World!
Turbo Pascal (@이니스프리님 추가)
program Hello;
begin
writeln ('Hello, world.')
end.
HQ9+ (@Hanam09님 추가)
H
아희 (@Hanam09님 추가)
발다빠빠따빠밪나파빠밣다빠밦다빠밪타빠밣다밣밤따밞밤따밣다빠밝타밪따빠밪타빠빠밝타밞밣따아멓희
JSP (@Hanam09님 추가)
<%
out.println("hello,world!");
%>
ASP (@Hanam09님 추가)
<%
response.write("hello, world!");
%>
Brainfuck (@이니스프리님 추가)
+[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-.
써봤던 언어만 적어보니 그리 많지는 않네요ㅋㅋㅋ