The System.identityHashCode(Object x) method

Report a typo

What is the output of the following code?

    Person james = new Person("James Gosling");
    Person person = james;

    System.out.println(System.identityHashCode(james) == System.identityHashCode(person));
Enter a short text
___

Create a free account to access the full topic