摘要:        
public class Demo04 { public static void main(String[] args) { //匹配正则表达式:matches //校验qq号码 //1: 要求必须是5-15位数字 //2: 0不能开头 //描述规则 String regex="[1-9][0-9]    阅读全文
posted @ 2019-12-23 15:30
墨染千城
阅读(4945)
评论(0)
推荐(1)
        
            
        
        
摘要:        
public class Demo03 { public static void main(String[] args) { //创建StringBuffer StringBuffer str=new StringBuffer("abc"); System.out.println(str); //添    阅读全文
posted @ 2019-12-23 15:26
墨染千城
阅读(287)
评论(0)
推荐(0)
        
            
        
        
摘要:        
public class Demo02 { public static void main(String[] args) { byte [] bs={65,66,67,68,69}; //ASCII码表:0=48;A=65;a=97 //字节数组转为字符串(正数时,走ASCII码表) String     阅读全文
posted @ 2019-12-23 09:57
墨染千城
阅读(499)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号