a block of ice on a hot sidewalk is an example of cold object touching warmer object & when a cooler object touches a warmer object, heat will flow from the warmer object to the cooler object
heat will flow from the hot sidewalk to the block of ice