How do Java public/private and static modifiers affect multiple variables declared on one line?
Posted
by HH
on Stack Overflow
See other posts from Stack Overflow
or by HH
Published on 2010-04-29T20:26:22Z
Indexed on
2010/04/29
20:47 UTC
Read the original article
Hit count: 357
Are the following equivalent?
private static boolean readAllFiles = false,readAllDirs = false;
private static boolean readAllFiles = false;
private static boolean readAllDirs = false;
And if so, do they still have the same modifiers with different values?
private static boolean readAllFiles = false,readAllDirs = true;
© Stack Overflow or respective owner