代码示例
echo "Hello World"
#include <stdio.h>
int main() {
printf("Hello World");
return 0;
}
#include <iostream>
int main() {
std::cout << "Hello World";
return 0;
}
println('Hello World");
module Main where
main :: IO ()
main = putStrLn "Hello World"
class HelloWorld {
public static void main (String[] args) {
System.out.println("Hello World");
}
}
console.log("Hello World");
(print "Hello World")
print("Hello World")
object HelloWorld extends App {
printIn("Hello World")
}