Java Static Initializer Block

  • + 0 comments

    first of all static variables will get the memory while execution, so the boolean flag is initialized with true value, so the condition become true and it will gives the result of area by taking inputs.