false || false →
false
false || true →
true
true || false →
true
true || true →
true
// if s is null, Java won't bother to test the length of s if ( s == null || s.length() == 0 ) { out.println( "empty string" ); }
|
|
available on the web at: |
http://mindprod.com/jgloss/mccarthyoroperator.html |
optional Replicator mirror
|
J:\mindprod\jgloss\mccarthyoroperator.html | |
![]() |
Please email your
feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Blog | Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[54.242.233.11] |
|
| Feedback | You are visitor number 11. | |