文章目录
  1. 1. Python
  2. 2. Ruby
  3. 3. Lua
  4. 4. Java
  5. 5. C
  6. 6. Lisp

Welcome to Krzer! This is my very first post.

Python

1
print("Hello World")

Ruby

1
puts "Hello World"

Lua

1
io.write("Hello world")

Java

1
2
3
4
5
public class HelloWord {
public static void main(String[] args) {
System.out.println("hello world");
}
}

C

1
2
3
4
5
6
#include <stdio.h>
int main() {
printf("Hello, world!");
return 0;
}

Lisp

1
2
3
(DEFUN HELLO()
"HELLO WORLD"
)

文章出自:Krzer http://www.krzer.com/版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。

文章目录
  1. 1. Python
  2. 2. Ruby
  3. 3. Lua
  4. 4. Java
  5. 5. C
  6. 6. Lisp