Java Tutorial

Static Initialization Block

When a class is loaded, all blocks that are declared static and don’t have function name (i.e. static initializers) are executed even before the constructors are executed. As the name suggests they are ...
Java Tutorial

Static variable management in java

  The purpose of static keyword in java is  memory management. Static keyword can be apply to the  variables, methods and blocks. The static keyword belongs to the class than instance ...
Powered by WordPress · Designed by Theme Junkie
You might also likeclose