Java Static Initializer Block

  • + 3 comments

    image

    if both b & h are negative the condition will get false and it throw the exception