世界,您好!

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

2 Replies to “世界,您好!”

发表评论

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