Java Flashcards
1
Q
final
A
When a variable is declared with final keyword, its value can’t be modified, essentially, a constant. This also means that you must initialize a final variable.
final
When a variable is declared with final keyword, its value can’t be modified, essentially, a constant. This also means that you must initialize a final variable.