[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fTb7HuSiUpr6IDmy8CSJwAM7-BTC8tbsh4K6q_ij1W98":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-05-16 15:02:02",143989031,[8,9,10,11],"try","catch","finally","throw",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},15,"686484b5c711dad9bec3133c5802a712","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002Ff416a82ee50c5f966406b5d3c525d174.JPG","Java程序设计（原课程名《Java语言与网络编程》）","work_35024635","第五章异常","在异常处理时,如释放资源关闭文件等由下列哪个语句完成.()",[21,26,35,44,53,62,69,74,79,84],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":34,"source":24,"type":25},[],143989032,[30,31,32,33],"Throwable","Error","Exception","RuntimeException","下列哪个类是所有异常类的父类.()",{"answer":36,"createTime":5,"id":37,"options":38,"question":43,"source":24,"type":25},[],143989033,[39,40,41,42],"public void throws IOExceptionfun(){}","public void fun throws IOException(){}","public void fun() throws IOException{}","public void fun() throws IOException,throws SQLException{}","下列异常声明中,正确的是( )",{"answer":45,"createTime":5,"id":46,"options":47,"question":52,"source":24,"type":25},[],143989034,[48,49,50,51],"编译异常就是指Exception以及其子类","编译异常如果产生,可以不用处理","编译异常如果产生,必须处理,要么捕获,要么抛出","编译异常指的就是Error","以下关于编译异常说法正确的是( )",{"answer":54,"createTime":5,"id":55,"options":56,"question":61,"source":24,"type":25},[],143989035,[57,58,59,60],"输出0","输出1","输出0.5","编译失败","下面程序的运行结果是( ) class Demo{ public static void main(String[] args){ int x = div(1,2); try{ }catch(Exception e){ System.out.println(e); } System.out.println(x); } public static int div(int a,int b){ return a \u002F b ; } }",{"answer":63,"createTime":64,"id":65,"options":66,"question":67,"source":24,"type":68},[],"2024-05-16 15:21:04",143991878,[],"____类及其子类用于表示运行时异常",2,{"answer":70,"createTime":64,"id":71,"options":72,"question":73,"source":24,"type":68},[],143991879,[],"异常分为两种,分别是____和____.(都是5个字)",{"answer":75,"createTime":64,"id":76,"options":77,"question":78,"source":24,"type":68},[],143991880,[],"____关键字用于在方法中声明抛出异常的实例对象",{"answer":80,"createTime":64,"id":81,"options":82,"question":83,"source":24,"type":68},[],143991881,[],"如果一个方法要抛出多个异常,可以使用____关键字,每种异常之间用逗号隔开",{"answer":85,"createTime":64,"id":86,"options":87,"question":88,"source":24,"type":68},[],143991882,[],"自定义异常需要继承____类"]