摘要: import java.util.ArrayList; public class Bai { public static void main(String[] args) { ArrayList<Integer> a=new ArrayList<>(); for (int i = 0; i < 10 阅读全文
posted @ 2016-05-28 16:46 凌零聆 阅读(226) 评论(0) 推荐(0) 编辑
摘要: public class Bank { Double qian=0.0; double newBank(double a) { qian=qian+a; return qian; } double withDrawal(double dAmount) throws Exception { ... 阅读全文
posted @ 2016-05-28 16:11 凌零聆 阅读(975) 评论(0) 推荐(0) 编辑
摘要: package exception; public class TestException { public static void main(String[] args) { for(int i=0;i<4;i++) { try { int k; switch(i) { case 0: int z 阅读全文
posted @ 2016-05-28 15:40 凌零聆 阅读(610) 评论(0) 推荐(0) 编辑