what it means when i used Polymorphism using Java, using> import extra.Animal; | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 2
Could you provide a link to the code snippet?
19th Aug 2018, 8:37 AM
Roman Khristoforov
Roman Khristoforov - avatar