At work I'm using Java and I have to use the equals () function frequently.
My question is what is the difference between
!"".equals(objeto);
in front of
!objeto.equals("");
At work they force me to use the first, but I do not understand why.
Thank you.