1、格式化代码
右键----source----Format
2、自动生成getter和setter方法
双击选中变量,右键----source----Generate Getters and Setters
3、使用Ctrl+1对出错的程序进行调整(throws Exception)
选中错误行,右键----source----Surround with try/catch Block
1、格式化代码
右键----source----Format
2、自动生成getter和setter方法
双击选中变量,右键----source----Generate Getters and Setters
3、使用Ctrl+1对出错的程序进行调整(throws Exception)
选中错误行,右键----source----Surround with try/catch Block