Java六种异常处理的陋习

你觉得自己是一个Java专家吗?是否肯定自己已经全面掌握了Java的异常处理机制?在下面这段代码中,你能够迅速找出异常处理的六个问题吗?

1 OutputStreamWriter out = …
2 java.sql.Connection conn = …

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×