Final Keyword Flashcards
1
Q
What is the use of final keyword in java?
A
final keyword in java is used to restrict the modification of a class or a method or a variable. A final class can not be extended, a final method can not be overridden and we can not change the value of a final variable.
2
Q
More on the final keyword
A
https://javaconceptoftheday.com/final-keyword-in-java/