Here are two examples of a java statements that use short circuit
evaluation:
if (i > 0 && i < a.length && a[i] == 0)
if (p != null && p.getGender() == 'F')
Format String | Digits After Decimal Point |
Leading Zero? |  Commas? |
---|---|---|---|
"#0.000" | 3 | Yes | No |
"#.00" | 2 | No | No |
"#,##0.0" | 1 | Yes | Yes |
"#,##0.0" | 1 | No | Yes |