Java生成文档命令

javadoc -d D:\\javacode -author -version EscapeChar.java
/**
 * @author leo
 * @version 1.0
 */
public class EscapeChar {
  public static void main(String[] args) {
    System.out.println("Beijing\tShanghai\tShenzhen");
    System.out.println("First line\nSecond line");
    System.out.println("D:\\javacode");
    System.out.println("Leo say: \"Java is great!\"");
    System.out.println("Leo say:\'Java is great!\'");
    System.out.println("PHP is best!\rJava");
    System.out.println("PHP is best!\r\nJava");
  }
}

 

上一篇:springboot(1)


下一篇:关于C语言地址(指针)的难点解析——数组的地址与函数的地址