질문의 목적
런타임에러와 컴파일 타임 에러를 구분할 수 있는가
Exception
- checked exception (Compile time exception) : IDE가 걸러줄 수 있는 컴파일 에러를 말함
- unchecked exception (Runtime exception) : 런타임시 특정 상황에 발생할 수 있는 에러
Error
- severe exception : 핸들링이 어려운 에러 상황을 말함
- OutOfMemory
Keyword Check
- checked exception - compile time, IDE, IOException, SQLException
- unchecked exception - runtime, NullPointer Exception, ArrayIndexOutOfBoundException
- error - servere exception, Out Of Memory
꿀팁
- 인터뷰시 Whiteboard 나 Paper를 이용한 설명을 하세요!
- 보다 정확한 개념 전달, 도식화 능력 표현, 적극성 표현
- 글씨를 쓸때는 깔끔, 명확하게 !