Question: Going over java inheritence, and can somone explain to me why both of these are illegal. Drawing digrams helps too List pet = new LinkedList
Going over java inheritence, and can somone explain to me why both of these are illegal. Drawing digrams helps too
List
List
List
pet = dog; // Illegal
dog = pet; // Illegal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
