David David - 1 year ago 66
Java Question

What Java method takes an int and returns +1 or -1?

What Java method takes an

int
and returns +1 or -1? The criteria for this is whether or not the
int
is positive or negative. I looked through the documentation but I'm bad at reading it and I can't find it. I know I've seen it somewhere though.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download