Valid 1Z0-851 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-851 Exam! ExamDiscuss.com now offer the newest 1Z0-851 exam dumps, the ExamDiscuss.com 1Z0-851 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-851 dumps with Test Engine here:
Given: class ClassA {} class ClassB extends ClassA {} class ClassC extends ClassA {} and: ClassA p0 = new ClassA(); ClassB p1 = new ClassB(); ClassC p2 = new ClassC(); ClassA p3 = new ClassB(); ClassA p4 = new ClassC(); Which three are valid? (Choose three.)
Correct Answer: A,E,F
Explanation/Reference: Explanation: p1 = p2; //type mismatch: cannot convert from ClassC to ClassB p2 = p4; //type mismatch: cannot convert from ClassA to ClassC p2 = (ClassC)p1; //cannot cast from ClassB to ClassC