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

Popular Categories





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

0 votes
71 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 69 views
0 votes
0 answers 57 views
+3 votes
1 answer 359 views
0 votes
1 answer 149 views
0 votes
1 answer 115 views
+1 vote
1 answer 776 views
+3 votes
1 answer 643 views
+2 votes
2 answers 788 views
–1 vote
0 answers 111 views
+8 votes
2 answers 106 views

Not a Member yet?

Ask to Folks Login

My Account
1058 Folks are online
69 members and 989 guest online
Your feedback is highly appreciated