HCLTech Interview Question

What is heap and stack memory in Java How to handle exceptions