3
Reply

&& and & operator in JAVA

Mohan Rathour

Mohan Rathour

Nov 8 2011 7:04 PM
1.5k
HI
What can go wrong if you replace && with & in the following code:
String a=null; if (a!=null && a.length()>10) {...}

Answers (3)