异常处理

wepay 面经

简单问了下 IllegalArgumentException 和 ArithmeticException 的区别

  1. IllegalArgumentException: check null

  2. ArithmeticException: an integer "divide by zero" throws an instance of this class.

Last updated