Two bodies are brought into contact in an isolated enclosure until they both reach the same temperature. The two bodies have reached a state of:
A. Thermal equilibrium
B. Phase equilibrium
C. Mechanical equilibrium
D. Chemical equilibrium