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

Popular Categories





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

0 votes
91 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 77 views
0 votes
0 answers 71 views
+3 votes
1 answer 382 views
0 votes
1 answer 160 views
0 votes
1 answer 120 views
+1 vote
1 answer 816 views
+3 votes
1 answer 720 views
+2 votes
2 answers 796 views
–1 vote
0 answers 126 views
+8 votes
2 answers 126 views

Not a Member yet?

Ask to Folks Login

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