-4

I am confused by this statement. Please help me explain this statement:

return third == Long.MIN_VALUE ? (int)first : (int)third;
jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
Yusnardo
  • 1
  • 1

1 Answers1

0

Considering your top tags in SO is Python, let's explain this statement with Python:

return first if third == sys.maxint else third 

Of course the Long.MIN_VALUE is not necessarily equal to sys.maxint in Python.

kezhenxu94
  • 136
  • 2
  • 12