首页
技术面试题 3000
Integer a= 127与Integer b = 127相等吗?
Integer a= 127与Integer b = 127相等吗?
答案解析
相等。-128到127之间的Integer会缓存,a==b为true,超出范围为false。
返回列表
返回首页