Java Static Initializer Block

  • + 0 comments

    I thought static block was mainly used to initialize variables. It gives error if I add declaration in static block. Any Suggestions?