| Parameter | Description |
|---|---|
| obj1 | The first reference to compare. |
| obj2 | The second reference to compare. |
bool True if both references refer to the same Java object, or are both null. Otherwise, false.
Tests whether two references refer to the same Java object.
Additional resources: Java Native Interface Specification (Oracle)