Search

What is the purpose of declaring a variable as final ?



A final variable’s value can’t be changed. final variables should be initialized  before using them.