Cindy:
not initialized, thereby guaranteeing that they can NEVER be
initialized, making them worthless I do not agree to this stmt. You can initialize the
final
member variable in the constructor. It is perfectly valid.
Proof: Comment out the static final in the abv code and verify.
Then you tried to change the value of a final (as in unchangable) variable with
s_f_const = 101; See thats not totally true again. Since in the first error, the
Java compiler tells me that I have to "
assign a value...in
every constructor"
When I provide a constructor, we know theres' no other (default)
constructor. So whats' wrong?
Now, there may not be practical use of it, but I don't want to
miss an opportunity to file a bug against java.
Thanks.
regds.