面向对象(异常处理)

啥也不多说,直接上代码 public class ExceptionTest01 { public void runtimeExceptionNotUseTryCatch(){ String str = null; m1(str); System.out.println(“over”); } private void m1(String str) { if(str==null){ System.o
相关文章
相关标签/搜索