世界,您好!

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

3 Replies to “世界,您好!”

  1. What’s up friends, how is everything, and what you desire to say
    on the topic of this post, in my view its in fact awesome for me.

发表回复

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