## 包机制
![image-20221217155501651](C:\Users\biao\AppData\Roaming\Typora\typora-user-images\image-20221217155501651.png)![image-20221217155512394](C:\Users\biao\AppData\Roaming\Typora\typora-user-images\image-20221217155512394.png)
如:com.baidu.www
com.baidu.baike
![image-20221217160126029](C:\Users\biao\AppData\Roaming\Typora\typora-user-images\image-20221217160126029.png)
一个包里面尽量不要定义重复名。
![image-20221217160433758](C:\Users\biao\AppData\Roaming\Typora\typora-user-images\image-20221217160433758.png)
## JavaDoc
![image-20221217164308518](C:\Users\biao\AppData\Roaming\Typora\typora-user-images\image-20221217164308518.png)
[点击跳转到Java SE文档][Overview (Java Platform SE 8 ) (oracle.com)](https://docs.oracle.com/javase/8/docs/api/)
package com.fang.base;标签:Users,AppData,image,Typora,biao,day10,images From: https://www.cnblogs.com/biao3/p/16989258.html
/**
* @author Fangbiao
* @version 1.0
* @since 1.8
*/
public class Doc {
String name;
/**
* @author Fangbiao
* @param name
* @return
* @throws Exception
*/
public String test(String name)throws Exception{
return name;
}
//通过命令行 javadoc 参数 Java文件
//作业:学会查找使用IDEA生产JavaDoc文档
}