You are viewing a single comment's thread. Return to all comments →
In java every class is stored in seperate memory.If we use static all can be stored in same memory location and we can use wherever we want.
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 →
In java every class is stored in seperate memory.If we use static all can be stored in same memory location and we can use wherever we want.