Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

static block in java

Static block is used for initializing the static variables.
This block gets executed when the class is loaded in the memory. 
A class can have multiple Static blocks
Source by beginnersbook.com #
 
PREVIOUS NEXT
Tagged: #static #block #java
ADD COMMENT
Topic
Name
4+6 =