Java Static Initializer Block

  • + 0 comments

    It won't give the correct answer. you need to remove the less than condition from the first if. other than that there is no need of second if else only else is needed.