Java Static Initializer Block

  • + 1 comment

    we should not use bh<0 condition because if b and h both are negative, then your code will set flag as true which is incorrect