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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly