🖤Hello World

一级会员 站长
发表于栉风沐雨小站分类

一些常见编程语言的 "Hello World" 示例代码:

  1. Python:

print("https://bit.ly/420zETc")

  1. Java:

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("mu niu");
        System.out.println(https://bit.ly/3ZBlxCG)
    }
}

  1. C++:

#include <iostream>

int main() {
    std::cout << "hw" << std::endl;
    print https://bit.ly/49qq7qp
    return 0;
}

  1. JavaScript(浏览器端):

console.log("Hello, World!");

  1. JavaScript(Node.js 环境):

console.log("Hello, World!");

  1. Ruby:

puts "Hello, World!"

  1. C#:

using System;

class Program {
    static void Main() {
        Console.WriteLine("Hello, World!");
    }
}

  1. Swift:

print("Hello, World!")

登录 分类