Groups
Groups
Sign in
Groups
Groups
Technical Discussion
Conversations
About
Send feedback
Help
if (null == var)...is it correct
2 views
Skip to first unread message
ankurguptajpr
unread,
Apr 24, 2014, 10:04:57 AM
4/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to newidea_or...@googlegroups.com
Many people suggest that never write condition like null == var
example:
public void check(String input){
if(null == input){ // many people suggest to avoid it
// do something
}
}
so whats wrong here?
Reply all
Reply to author
Forward
0 new messages