return true
is only executed if the if
condition is true. For all other cases you need the return false
0
solved Why 2 return statements are mandatory in equals method
return true
is only executed if the if
condition is true. For all other cases you need the return false
0
solved Why 2 return statements are mandatory in equals method