Java: private static boolean a,b,c,d <--each has the same prefix?

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:37 UTC
Read the original article Hit count: 364

Filed under:
|
|
|

Are they equivalent?

private static boolean readAllFiles = false,readAllDirs = false;

private static boolean readAllFiles = false;
private static boolean readAllDirs = false;

CASE TRUE: Have they still the same prefix with different values?

private static boolean readAllFiles = false,readAllDirs = true;

© Stack Overflow or respective owner

Related posts about java

Related posts about syntax