Pregunta de entrevista de HCLTech

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