اكثر اسئلة واجوبة المقابلات طلبا والاختبارات عبر الإنترنت
منصة تعليمية للتحضير للمقابلات والاختبارات عبر الإنترنت والدروس والتدريب المباشر

طوّر مهاراتك من خلال مسارات تعلم مركزة واختبارات تجريبية ومحتوى جاهز للمقابلات.

يجمع WithoutBook أسئلة المقابلات حسب الموضوع والاختبارات العملية عبر الإنترنت والدروس وأدلة المقارنة في مساحة تعلم متجاوبة واحدة.

التحضير للمقابلة

Core Java اسئلة واجوبة المقابلات

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

سؤال 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.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 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.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 123. Which class is extended by all other classes?

The Object class is extended by all other classes.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 124. Does a class inherit the constructors of its superclass?

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

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 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().

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

الاكثر فائدة حسب تقييم المستخدمين:

حقوق النشر © 2026، WithoutBook.