It is wrong. We can do direct comparsion double with zero. Please, change it accroding to the method used in <code>equals()</code> method.