title: What is an initialization block?
body: <p>We can put code in a constructor or a method or an initialization block. What is the use of initialization block? Is it necessary that every java program must have it? </p>