==================================================
Explanation:
Specific heat capacity is the amount of energy needed to heat an object by 1 unit (eg: 1 degree Celsius). The higher the specific heat capacity is, the more energy you'll need to heat up the object to the desired temperature you want.
This means object B will get hotter compared to object A.
------------------
The formula to calculate the energy we need to add is
Q = m*c*t
where
Since objects A and B have the same mass, let's just say m = 1 for both objects. The unit doesn't really matter because we're focused on the numbers here.
Next, we'll come up with c values such that A's specific heat is larger than the specific heat for B. Let's say c = 10 for object A and c = 5 for object B.
Finally, let's apply the same amount of heat energy to both objects. So let's say Q = 20 for both objects.
With all this in mind, this means for object A, we can note
Q = m*c*t
20 = 1*10*t
20 = 10t
10t = 20
t = 20/10
t = 2
So we've raised object A's temperature by 2 degrees
Let's apply the same steps for object B
Q = m*c*t
20 = 1*5*t
20 = 5t
5t = 20
t = 20/5
t = 4
The temperature of object B has gone up by 4 degrees.
Object B's temperature has gone up twice as much compared to object A.