Hello World

Java

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

Python

1
2
>>> print("Hello,World!") #Python 3.x
Hello,World!

Go

1
2
3
4
5
6
package main
import "fmt"
func main(){
fmt.Printf("hello world\n")
}

C++++

1
2
3
4
5
6
7
8
9
using System;
class TestApp
{
public static void Main()
{
Console.WriteLine("Hello,World!");
Console.ReadKey();
}
}

JavaScript

1
2
var sys = require("sys");
sys.puts("Hello,World!");

HTML

1
2
3
4
5
6
7
<!DOCTYPE html>
<html>
<body>
<h1>This is the first program!</h1>
<p>Hello,World!</p>
</body>
</html>
----本文结束 感谢您的阅读----