摘要:
1.建立exception包,编写TestException.java程序,主方法中有以下代码,确定其中可能出现的异常,进行捕获处理。 for(inti=0;i<4;i++){ int k; switch(i){ case 0: int zero=0; k=911/zero; break; case 阅读全文
posted @ 2016-09-24 08:25
琢磨先生
阅读(347)
评论(0)
推荐(0)
摘要:
34.编写2个接口:InterfaceA和InterfaceB;在接口InterfaceA中有个方法void printCapitalLetter();在接口InterfaceB中有个方法void printLowercaseLetter();然 后写一个类Print实现接口InterfaceA和I 阅读全文
posted @ 2016-09-24 08:20
琢磨先生
阅读(434)
评论(0)
推荐(0)

浙公网安备 33010602011771号