Yes, the temperature of ‘B’ will increase. Heat flows from high temperature to a low temperature. Since body ‘A’ is at high temperature, heat from A will flow to body B. Due to this flow of heat, the temperature of A will decrease and temperature of B will increase until they reach the same temperature.