Java Static Initializer Block

  • + 1 comment

    can some body explain the role of flag in the above example ?? why do we need a flag , what does it do?i tried the code without the flag but it dosent work!please help