3 Uses of FINAL in JAVA
In Java, the final keyword is used to indicate that a variable, method, or class cannot be modified or extended. The following are different contexts where final is used:
1) Final Variable: To Create Constant
The keyword final can be used to create t...
mehzabin.hashnode.dev2 min read
Karelle Hofler
Software Engineer
I knew about using final for constants but forgot about the other two uses of the keyword. Good article π