7
public class Test {
public static void main(String args[]) {
String s1 = "abc";
//Here is invoking of overriding String hashCode method.
System.out.println("hashCode value "+s1.hashCode()); }
}
取而代之,我想獲得非重寫Object hashCode方法。我如何得到它?我想通過String對象調用Object hashCode方法。怎麼做?