Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
&& and & operator in JAVA
Mohan Rathour
Nov 8 2011 7:04 PM
1.5k
Reply
HI
What can go wrong if you replace && with & in the following code:
String a=null; if (a!=null && a.length()>10) {...}
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
synchronized block vs. synchronized method on Java
Anonymous Class in JAVA