27. (D) Code segment III is wrong because the equals method is defined for objects only. Since getValue returns a double, the quant it ies c.getValue() and aCoin.getValue() m us t be compared either using ==, or as described in the box (better).