Tags

initialization blocks are called before each constructor
class Hello
{
    {
       blah blah...
    }
}

static initialzation are called after class is loaded before it is actually used.
It should only use static variables.
class Hello2 
{
    static {
       blah blah...
    }
}
Advertisements