Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Yes, since java supports polymorphism method overriding has no restrictions provided that you are overriding the derived method over the base method but not the vice versa.
11th Jul 2018, 5:54 AM
Philip Juma Mulongo
Philip Juma Mulongo - avatar