Java数据库操作的一个小问题

2025-04-04 18:08:15
推荐回答(1个)
回答1:


this.con=null

this.con.close();
就会报空异常
至于
this.con=null
可有可无