Si le nombre est négatif java
int number = -10;
if(number < 0) {
// Number is less than 0 (number is negative)
}
Bredo
int number = -10;
if(number < 0) {
// Number is less than 0 (number is negative)
}