有趣的代码注释

//单行注释

/*多行注释

多行注释

多行注释*/

/** 文档注释*/

public class helloworld {
    public static void main(String[] args) {
        //单行注释
        /*多行注释
        多行注释
        多行注释*/
        /**
         * 文档注释
         */
        String student = "张三";
        System.out.println("hello,world!");
    }
    /*
     *
     *          ┌─┐       ┌─┐
     *       ┌──┘ ┴───────┘ ┴──┐
     *       │                 │
     *       │       ───       │
     *       │  ─┬┘       └┬─  │
     *       │                 │
     *       │       ─┴─       │
     *       │                 │
     *       └───┐         ┌───┘
     *           │         │
     *           │         │
     *           │         │
     *           │         └──────────────┐
     *           │                        │
     *           │                        ├─┐
     *           │                        ┌─┘
     *           │                        │
     *           └─┐  ┐  ┌───────┬──┐  ┌──┘
     *             │ ─┤ ─┤       │ ─┤ ─┤
     *             └──┴──┘       └──┴──┘
     *                 神兽保佑
     *                 代码无BUG!
     */
}

 

posted @ 2023-10-25 02:13  Xue_yong  阅读(18)  评论(0)    收藏  举报