摘要: 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 琢磨先生 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 34.编写2个接口:InterfaceA和InterfaceB;在接口InterfaceA中有个方法void printCapitalLetter();在接口InterfaceB中有个方法void printLowercaseLetter();然 后写一个类Print实现接口InterfaceA和I 阅读全文
posted @ 2016-09-24 08:20 琢磨先生 阅读(429) 评论(0) 推荐(0) 编辑
AmazingCounters.com