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