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()); }
}
Zamiast tego chcę uzyskać nie zastępującą metodę hashCode obiektu. Jak mogę to dostać?Chcę wywołać metodę hashCode obiektu poprzez obiekt String. Jak to zrobić?