Answer
The correct answers are $A$ and $B$ .
Work Step by Step
It is defined as: $Q=mc$$\Delta$$T$
Where $m$ is the mass , $c$ is the specific heat and $\Delta$$T$ is the temperature change .
Now , $\Delta$$T$ $=Q/mc$
We see that temperature change is inversely proportional to the mass and specific heat of the body.
We conclude that temperature of the two object won't necessarily be the same if
$(a)$the object have different heat capacities, but have same masses.
$(b)$ the object have the same specific heat capacities, but have different masses.