Question: what is the difference between null and isempty?
Answer: null checking shows you whether there is an object generally. isEmpty checking shows you whether the content of existing String object is empty.