Java Static Initializer Block

  • + 0 comments

    Here i've just declared B,H as static variables because static methods involve use of static variables. flag is just initialized to default boolean value which can either be set as true or false doesn't make a difference.