0

what it means when i used Polymorphism using Java, using> import extra.Animal;

Exception in thread "main" java.lang.Error: Unresolved compilation problems: Dog cannot be resolved to a type Cat cannot be resolved to a type at newsample.mainsample.main(mainsample.java:8)

19th Aug 2018, 8:06 AM
MD. JIKRUL SAYEED HOSSAIN
MD. JIKRUL SAYEED HOSSAIN - avatar
1 Odpowiedź
+ 2
Could you provide a link to the code snippet?
19th Aug 2018, 8:37 AM
Roman Khristoforov
Roman Khristoforov - avatar