摘要:
insert()函数与substr()函数 insert()函数: insert ( pos, str2);——将字符串str2插入到原字符串下标为pos的字符前 insert (pos, n, c);——在将n个字符c插入到原字符串下标为pos的字符前 insert (pos, str2, pos 阅读全文
摘要:
常用API概述 数学类 包装类 时间类 字符串 String Builder和StringBuffer DecimalFormat 数学类: 数学类的方法都是静态方法,可以直接引用——Math.方法(); 常用数学类方法: abs():获取绝对值 max():求最大值 min():求最小值 pow( 阅读全文