Quick Java question about variables
Posted
by Spencer
on Stack Overflow
See other posts from Stack Overflow
or by Spencer
Published on 2010-05-14T06:02:06Z
Indexed on
2010/05/14
6:04 UTC
Read the original article
Hit count: 433
I'm declaring a variable:
private static final String filename = "filename.txt";
First, does the order of private static final
matter? If not, is there a standard excepted sequence or convention?
Second, the filename in my application is fixed. Is this the best was to store it's value?
Thanks, Spencer
© Stack Overflow or respective owner