异常处理
Last updated
Was this helpful?
Last updated
Was this helpful?
wepay 面经
简单问了下 IllegalArgumentException 和 ArithmeticException 的区别
IllegalArgumentException: check null
ArithmeticException: an integer "divide by zero" throws an instance of this class.
Both extends RuntimeException which is unchecked exception