Question: Given the following class and their objects: class C1{}; class C2 extends C1{}; class C3extends C1{}; C2 c2 = new C2(); C3 c3 =new C3();
Given the following class and their objects: class C1{}; class C2 extends C1{}; class C3extends C1{}; C2 c2 = new C2(); C3 c3 =new C3(); Analyze the following statement: c2 = (C2)((C1) c3);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
