摘要:        
public class Test { public static void main(String[] args) { System.out.println(test4()); System.out.println("y = " + y);	}	public static String test4    阅读全文
        
            posted @ 2019-12-02 18:12
星然
阅读(136)
评论(0)
推荐(1)
        
        
            
        
        
摘要:        
父类 :Throwable(可抛出的) 有两个子类:Error(错误) Exception(异常) Error是所有错误类的父类,Exception是所有异常类的父类。 如图所示: 格式: Try{ 需要被检测的代码块; }catch(异常类 变量名){ 异常处理代码; }finally{ 一定要执    阅读全文
        
            posted @ 2019-12-02 18:01
星然
阅读(526)
评论(0)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号