![]() |
C
What is static block?
|
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, which will execute in the same sequence in which they have been written into the program.
|
Thanks for sharing your knowledge.
|
All times are GMT -7. The time now is 11:50 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.