代码布道

Java

package net.codeboot;

public class Test {

    public static void main(String[] args) {
        System.out.println("剡中若问连州事,唯有千山画不如。");
    }

}

PHP

<?php
echo '剡中若问连州事,唯有千山画不如。';
?>

Node.js/Javascript

console.log('剡中若问连州事,唯有千山画不如。');


C++

#include <iostream>

using namespace std;

int main()
{
    cout << "剡中若问连州事,唯有千山画不如。" << endl;
    return 0;
}

C

#include <stdio.h>
 
int main()
{
    printf("剡中若问连州事,唯有千山画不如。\n");
    return 0;
}

C#

using System;

namespace HelloWorldApplication
{
    class HelloWorld
    {
        static void Main(string[] args)
        {
            Console.WriteLine("剡中若问连州事,唯有千山画不如。");
        }
    }
}

Go

package main

import "fmt"

func main() {
    fmt.Println("剡中若问连州事,唯有千山画不如。")
}

Python

#!/usr/bin/python3
 
print("剡中若问连州事,唯有千山画不如。")

Shell

#!/bin/bash

echo '剡中若问连州事,唯有千山画不如。';