Pregunta de entrevista de Infosys

What are the type of errors in Java?