摘要: 1 package cn.test; 2 3 /** 4 * 静态方式:把字符串中第一个出现的数字的值返回 5 * 6 */ 7 public class Test { 8 public static int getNum(String str) { 9 if (str == null || str.length() == 0) 10 ... 阅读全文
posted @ 2017-05-01 22:58 李梦晨 阅读(755) 评论(0) 推荐(0) 编辑