Java Static Initializer Block

  • + 0 comments

    You can simplify the if condition and remove extra checks like this: (B > 0 && H > 0) && (B != 100 && H != 100)