 When declaring a local variable or a field with the keyword as a prefix the value must be given when it is declared.After that it is locked and cannot change.They can either be declared in the context as a field or a local variable.