为什么long time = System.currentTimeMillis(); while(System.currentTimeMillis()-time < 1000){ }这条语句相当于sleep1000
long time = System.currentTimeMillis();
while(System.currentTimeMillis()-time < 1000){
}
long time = System.currentTimeMillis();
while(System.currentTimeMillis()-time < 1000){
}
2017-11-13
举报