Answers for "how to initialize static block in java"

0

static block in java

It is used to create another block before the main class.
  every java codes runs here first.
  Any code gets executed before the main class
    
    static{
    //code is placed between these brackets.
  }
Posted by: Guest on September-14-2021

Code answers related to "how to initialize static block in java"

Browse Popular Code Answers by Language