+ 1

[solved]How is 'final' keyword different from 'const' keyword in java??

1st Feb 2020, 1:55 PM
Akshay Jain
Akshay Jain - avatar
2 Answers
+ 4
Const is deprecated as of 2005 It is not backwards compatible so it probably won't return to Java. const is still used in (some) C languages and javascript - however it is replaced with final keyword in Java
1st Feb 2020, 2:13 PM
HNNX 🐿
HNNX 🐿 - avatar
+ 1
1st Feb 2020, 2:15 PM
Akshay Jain
Akshay Jain - avatar