Global Relay interview question

Java questions - error vs exception, stack vs heap, memory allocation in Java