Tag - if statement in java