what is the difference between productList==null and productList.size()==0

Ads

 
 

Share on Google+Share on Google+

sarat srinivas
what is the difference between productList==null and productList.size()==0
0 Answer(s)      4 years and 3 months ago
Posted in : Java Interview Questions

what is the difference between productList==null and productList.size()==0?

here productList is of type LIST

Ads
View Answers
Ads









Related Tutorials/Questions & Answers: