Question: public class Parent { } public class Child extends Parent { } Given above 2 classes, which statement will give compile time err Pick ONE
public class Parent
public class Child extends Parent
Given above classes, which statement will give compile time err
Pick ONE OR MORE options
List Parent new ArrayList Child ;
List Child new ArrayList Child ;
List Parent new ArrayList Parent ;
List Child new ArrayList Parent ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
