equals
Returns true
if the other object is an instance of Zero, or returns false
otherwise.
Calling from Kotlin
Here's an example of calling this method from Kotlin code:
val first = Zero()
val second = Zero()
val actual: Boolean = first == second // or first.equals(second)
assertTrue(actual)
Content copied to clipboard
Calling from Java
Here's an example of calling this method from Java code:
final Zero first = new Zero();
final Zero second = new Zero();
final boolean actual = first.equals(second);
Assertions.assertTrue(actual);
Content copied to clipboard