世界,您好!

Hello,World!

GBasic

print(“Hello, world!”)

易语言

信息框 (“Hello, World!”, 0, , )

VB

Module MainFrm
Sub Main()
System.Console.WriteLine(“Hello, World!”)
End Sub
End Module

C

include

int main()
{
printf(“Hello, World!”);
return 0;
}

Go

package main
func main() {
println(“Hello, World!”)
}

BATCH

@echo off
echo Hello, World!
pause

Java

public class HelloWorld
{
public static void main(String[] args)
{
System.out.println( “Hello, World!” );
}
}

C#

namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
System.Console.Write(“Hello, World!”);
}
}
}

PHP

echo “Hello, World!”;

ASP

response.write (“Hello, World!”)

JavaScript

console.log(“Hello, World!”)

Python 2

print “Hello, World!”

Ruby

def hello()
return “Hello , World”
end

8 Replies to “世界,您好!”

  1. Greetings from Carolina! I’m bored to tears at work so I decided to check out your website on my iphone during lunch break.

    I really like the info you provide here and can’t
    wait to take a look when I get home. I’m amazed at how fast your blog
    loaded on my cell phone .. I’m not even using WIFI, just 3G ..
    Anyways, wonderful site! It’s very trouble-free to find out
    any topic on net as compared to books, as I found this piece of writing
    at this web site. Hey there! I’ve been reading your blog for a long time now and
    finally got the courage to go ahead and give you
    a shout out from Porter Texas! Just wanted to say keep up the fantastic work!
    http://foxnews.net/

发表评论

电子邮件地址不会被公开。 必填项已用*标注