Answer:
The forces acting on the root beer is the ice cream. This means that the 'air' in the ice cream keeps it at the top of the root beer enabling it to float right at the top.