Static Initializes in Java Programming

Static Initializes in Java Programming

Previous Home Next

 

Static initializer blocks are used to initialize static variables when the class is loaded.  The code in a static initializer block can also be quite complex.

variables and methods are initializes static

A method that is declared static is called a class method.

A variable that is declared static is called a class variable.

which we discuss later in brief
 


 

Previous Home Next