Question: Question 8 Given the following code: class ci class C2 extends ci { } class C3 extends C2 { } class C4 extends ci ()
Question 8 Given the following code: class ci class C2 extends ci { } class C3 extends C2 { } class C4 extends ci () ci cl = new ci(); C2 c2 new C2(); C3 c3 = new C3(); C4 C4 = new C4(); Which of the following expressions evaluates to false? c3 instanceof C1 c1 instanceof C1 c4 instanceof C2 c2 instanceof C1 b A Moving to the next question prevents changes to this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
