Привет, мир на Яве
public static void main(String[] args){
System.out.println("Hello World");
}
Envious Eel
public static void main(String[] args){
System.out.println("Hello World");
}
var msg = "hello world";
console.log(msg);
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
$ go run hello-world.go
hello world
$ go build hello-world.go
$ ls
hello-world hello-world.go
$ ./hello-world
hello world
// First Go program
package main
import "fmt"
// Main function
func main() {
fmt.Println("!... Hello World ...!")
}
package main
import "fmt"
func main() {
fmt.Println("Hello World")
}
func main() {
fmt.Println("hello world")
}