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

浙公网安备 33010602011771号