Hey there! any question in your mind? Ask It Now!.

Popular Categories

In JAVA code best way to avoid "if(strResult != null)"

0 votes
asked in Programming by nitu (1,680 points)

In java we use this statement many times in code like if(strResult != null) which is not a good way of programming so I want to discuss , What can be the best way to avoid this not null.


Please share your thoughts Thanks!  


Please log in or register to answer this question.

Related Questions

0 votes
0 answers 114 views
+3 votes
1 answer 579 views
+3 votes
1 answer 912 views
–1 vote
0 answers 192 views
+8 votes
2 answers 222 views

Not a Member yet?

Ask to Folks Login

My Account
326 Folks are online
0 members and 326 guest online
Your feedback is highly appreciated