SPIRO THE TECH GURU

Back

What is blank final variable?

By Admin on

blank final variable 


A final variable, not initialized at the time of declaration, is known as blank final variable.

The final keyword in java is used to restrict the user. The java final keyword can be used in many context. Final can be:

  1. variable
  2. method
  3. class

The final keyword can be applied with the variables, a final variable that have no value it is called blank final variable or uninitialized final variable. It can be initialized in the constructor only.

SPIRO Google Plus