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

Popular Categories





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

0 votes
100 views
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

+3 votes
1 answer 85 views
0 votes
0 answers 73 views
+3 votes
1 answer 410 views
0 votes
1 answer 190 views
0 votes
1 answer 127 views
+1 vote
1 answer 875 views
+3 votes
1 answer 768 views
+2 votes
2 answers 799 views
–1 vote
0 answers 145 views
+8 votes
2 answers 132 views

Not a Member yet?

Ask to Folks Login

My Account
443 Folks are online
2 members and 441 guest online
Your feedback is highly appreciated