1
2
3
| function helloWorld () {
alert("Hello, World!")
}
|
1
2
3
4
5
| public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
|
1
2
3
4
5
6
7
| #include <stdio.h>
/* Hello */
int main(void){
printf("Hello, World!");
return 0;
}
|
1
2
3
4
5
6
7
8
| // 'Hello World!' program
#include <iostream>
int main(){
std::cout << "Hello World!" << std::endl;
return 0;
}
|
1
2
3
4
5
6
| using System;
class HelloWorld{
public static void Main(){
System.Console.WriteLine("Hello, World!");
}
}
|
1
2
3
4
5
| <html>
<body>
Hello, World!
</body>
</html>
|
1
2
3
4
5
6
7
| package main
import fmt "fmt"
func main()
{
fmt.Printf("Hello, World!\n");
}
|
1
2
3
| object HelloWorld with Application {
Console.println("Hello, World!");
}
|
1
2
3
| <?php
echo 'Hello, World!';
?>
|
本文系转载
文章作者
Quanyin
上次更新
2020-02-01
许可协议
本博客所有文章除特别声明外,均采用 (CC) BY-NC-SA 4.0 许可协议。转载请注明作者和出处并告知