Blank Final Member

or Blank final variable

Technically, its not correct to call it variable since by definition, final means constant, so by behaviour, it doesn't vary.

But people being people sometimes call it that. So we got to live with it.

Final variable not initialised during declaration

All final variables must be initialised, or else => Compile time error

Ways to initialise

  • Can be initialised within an Instance Initializer Block
  • Can be initialised within a constructor
  • If there are multiple constructors
  • Initialise in all of them, or else => Compile time error

Blank static final member/variable

Blank final variable which is Static.

Initialisation

Only within static block.