多项选择题
A.package com.;
B.import com.x;
C.package com.x;
D.import com.x.Alpha;
多项选择题 现有两个源文件: package com.sun; public class PkgAccess { public static int tiger = 1414; } 和 import com.sun.PkgAccess; public class PkgAccess2 { int x1 = PkgAccess.tiger; int x2 = tiger; int x3 = com.sun.PkgAccess.tiger; int x4 = sun.PkgAccess.tiger; } 下面哪两项是正确的?()
多项选择题 以下关于JavaHotSpot的描述,哪两项正确?()
多项选择题 class Sock { String size; String color; public boolean equals(Object o) { Sock s = (Sock) o; return color.equals(s.color); } // insert code here } 哪两个满足 hashCode 的约定?()