Concept of Static block ,Static Variable and Static methods

In this topic, you will learn about, The concept of Static block, Static variable, and Static methods with the help of examples. Static block: In java, we can create a static block where static blocks execute automatically when the program executed. It is generally used for dynamic initialization of execution .static block cannot use any …

Concept of Static block ,Static Variable and Static methods Read More »