Mohan Rathour

Mohan Rathour

  • NA
  • 850
  • 393.5k

&& and & operator in JAVA

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

Answers (3)