Hi I would like to know diff between the above comparisons?
I am getting null pointer exception when I check object.getItems() == null
.
But if I change it to null == object.getItems()
, it workes fine.
I did look into this what is the difference between null != object and object!=null But I didnt get satisfactory answer.