Which of the following expressions evaluates to false?
class C1 {}
class C2 extends C1 { }
class C3 extends C2 { }
class C4 extends C1 {}
C1 c1 = new C1 ();
C1 c2 = new C2 ();
C1 c3 = new C3 ();
C1 c4 = new C4 ();
c1 instanceof C1
c2 instanceof C1
c4 instanceof C2
c3 instanceof C1
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following expressions evaluates to false? class C1 {} class C2 extends C1 { } class C3 extends C2 { } class C4 extends C1 {} ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » Which of the following expressions evaluates to false? class C1 {} class C2 extends C1 { } class C3 extends C2 { } class C4 extends C1 {} C1 c1 = new C1 (); C1 c2 = new C2 (); C1 c3 = new C3 (); C1 c4 = new C4 ();