public class Test {标签:1.0,double,System,static,等于,Test,public From: https://blog.51cto.com/softo/6022987
public static void main(String args[]){
double a=1,b=1.0;
System.out.println(a==b); //呵呵,刚开始在书上看到这题目,还真有点不确定呢!结果是true啦!
}
}
public class Test {标签:1.0,double,System,static,等于,Test,public From: https://blog.51cto.com/softo/6022987
public static void main(String args[]){
double a=1,b=1.0;
System.out.println(a==b); //呵呵,刚开始在书上看到这题目,还真有点不确定呢!结果是true啦!
}
}