What is the difference between (object!=null) and (null!=object)? (Java being the language of choice

Posted by palakaluri on Stack Overflow See other posts from Stack Overflow or by palakaluri
Published on 2010-04-16T06:13:14Z Indexed on 2010/04/16 6:23 UTC
Read the original article Hit count: 300

Filed under:
|
|
 if(null!=object) 
    //do something

and

if(object!=null)
  // do something

Any performance improvement involved in this type of null checking. (I know null checking is sort of ugly)

© Stack Overflow or respective owner

Related posts about java

Related posts about coding-style