Constants in Java - final keyword

Java offers a placeholder or a container to hold a constant value in a memory location using a built in keyword known as final in other words constant variable. Once the variable gets initialized, it won't allow us to re-initialize/modify the value. The main reasons to use the constants are to implement the concept of reusability and ignore the ambiguous code.