Shell
echo(“Hello, world!”);
DOM
alert(“Hello, world!”);
Ada
Put_Line(“Hello, world!”);
Pascal
writeln(“Hello, world!”);
JavaScript
console.log(“Hello, world!”);
JAVA
System.out.println(“Hello, world!”);
C语言
printf("%s\n", “Hello, world!”);
C++
cout << “Hello, world!” << endl;
Python
println(“Hello, world!”)
PHP
var_dump(“Hello, world!”);
SQL
select * from word where word = ‘Hello, word!’
网友评论