[Edit]+0-0java compare two long valuesisherwood599Copy1 2 3 4 5 6 long a = 1L; long b = 1L; if (Objects.equal(a, b)) { }