摘要:        
方法:public static String getNumber(int numLength){ String val = ""; Random random = new Random(); for (int i = 0; i < numLength; i++) { val += String.v    阅读全文
posted @ 2019-12-24 18:29
stnnnn123
阅读(417)
评论(0)
推荐(0)
        
            
        
        
摘要:        
JAVA的变量类型 类变量:独立于方法之外的变量,用 static 修饰。 实例变量:独立于方法之外的变量,不过没有 static 修饰。 局部变量:类的方法中的变量。 public class Variable{ static int allClicks=0; //类变量 String str="    阅读全文
posted @ 2019-12-24 18:26
stnnnn123
阅读(153)
评论(0)
推荐(0)
        
                    
                
浙公网安备 33010602011771号