注释格式如下:
/**
* @param str
* @return
* @throws FileNotFoundException
* @throws IOException
*/
快捷键是alt+shift+j,将光标放在方法名上或选中整个方法,按快捷键。会生成上述方法注释的格式,具体内容自己填写。
注释格式如下:
/**
* @param str
* @return
* @throws FileNotFoundException
* @throws IOException
*/
快捷键是alt+shift+j,将光标放在方法名上或选中整个方法,按快捷键。会生成上述方法注释的格式,具体内容自己填写。