Domanda di colloquio di Tata Consultancy Services

What is Exception Handling in Java? Can you write a simple code snippet using a 'try-catch' block?