Not quite. The answer is C.
How to solve it
Specific heat is the amount of energy needed to raise the temperature of 1 g of a substance by 1°C. Water has a higher specific heat than cooking oil, so when equal masses absorb the same amount of heat, the water's temperature rises less.