Question d’entretien chez Dynatrace

Difference between heap and stack in java