12 2016 档案

摘要:import java.lang.*; /** * 1、查找“asdfjvjadsffvaadfkfasaffdsasdffadsafafsafdadsfaafd” * 该字符串中有多少个af replace(" "," ") :字符替换 * @author Administrator * */pu 阅读全文
posted @ 2016-12-11 18:16 134hw 阅读(119) 评论(0) 推荐(0) 编辑
摘要:try{ }catch(){ }finally{ } 例: private int chooseMenu() { Scanner scan = new Scanner(System.in); System.out.println("请选择操作:"); System.out.println("1: 查 阅读全文
posted @ 2016-12-11 18:15 134hw 阅读(113) 评论(0) 推荐(0) 编辑
摘要:实现: 阅读全文
posted @ 2016-12-04 14:30 134hw 阅读(1671) 评论(0) 推荐(0) 编辑
摘要:例: ATM机的程序实现 ATM机主程序: 实现: package com.lovo.test; import com.lovo.bean.ATMMachine; public class TestMain { public static void main(String[] args) { ATM 阅读全文
posted @ 2016-12-04 14:24 134hw 阅读(92) 评论(0) 推荐(0) 编辑