Java Polymorphism | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Java Polymorphism

What is the benefit of usin polymorphism instead of just creating two classes?

20th Jun 2019, 3:46 AM
Michael Ross
Michael Ross - avatar
1 Answer
+ 2
https://www.sololearn.com/learn/Java/2164/ you can browse the comments for a little more in-depth reasoning on why you should use polymorphism
20th Jun 2019, 4:33 AM
Jake
Jake - avatar