가장 많이 묻는 면접 질문과 답변 & 온라인 테스트
면접 준비, 온라인 테스트, 튜토리얼, 라이브 연습을 위한 학습 플랫폼

집중 학습 경로, 모의고사, 면접 준비 콘텐츠로 실력을 키우세요.

WithoutBook은 주제별 면접 질문, 온라인 연습 테스트, 튜토리얼, 비교 가이드를 하나의 반응형 학습 공간으로 제공합니다.

Prepare Interview

Core Java 면접 질문과 답변

Test your skills through the online practice test: Core Java Quiz Online Practice Test

Ques 121. What is the difference between instanceof and isInstance?

instanceof is used to check to see if an object can be cast into a specified type without throwing a cast class exception. isInstance() Determines if the specified Object is assignment-compatible with the object represented by this Class. This method is the dynamic equivalent of the Java language instanceof operator. The method returns true if the specified Object argument is non-null and can be cast to the reference type represented by this Class object without raising a ClassCastException. It returns false otherwise.

도움이 되었나요? Add Comment View Comments
 

Ques 122. When can an object reference be cast to an interface reference?

An object reference be cast to an interface reference when the object implements the referenced interface.

도움이 되었나요? Add Comment View Comments
 

Ques 123. Which class is extended by all other classes?

The Object class is extended by all other classes.

도움이 되었나요? Add Comment View Comments
 

Ques 124. Does a class inherit the constructors of its superclass?

A class does not inherit constructors from any of its superclasses.

도움이 되었나요? Add Comment View Comments
 

Ques 125. How would you make a copy of an entire Java object with its state?

Have this class implement Cloneable interface and call its method clone().

도움이 되었나요? Add Comment View Comments
 

Most helpful rated by users:

Copyright © 2026, WithoutBook.