HelloWorld

zhaozj2021-02-16  61

Java

Public class helloworld {public static void main (string args []) {system.out.println ("Hello, World");}}

C # include class helloworld {public: void disp () {cout << "Hello, World" << Endl;}}; int main () {helloworld obj; obj.disp (); return 0; }

C # using system;

Namespace consoleapplication2 {class class1 {[stathread] static void main (string [] args) {console.writeline ("hello, world");}}}

JSP

<% out.println ("Hello, World");%>

PHP

Echo ("Hello, World");

?>

ASP

<% Response.write ("Hello, World")%>

VB

Msgbox ("Hello, World")

Perl

Print "Hello, World";

JavaScript