Y
Hacker News
new
|
ask
|
show
|
jobs
by
dhosek
3155 days ago
If you declare a field final in Java, you either need to set it at declaration or in the constructor, so it will work with things set at compile time.