You are viewing a single comment's thread. Return to all comments →
Can someone please explain to me why we have to use static initalizer? Why not just do this logic in the main class?
Thanks
Seems like cookies are disabled on this browser, please enable them to open this website
Java Static Initializer Block
You are viewing a single comment's thread. Return to all comments →
Can someone please explain to me why we have to use static initalizer? Why not just do this logic in the main class?
Thanks