What is inheritance? What is polymorphism? Sorry if it is hard, I don't understand. Help me! :(
Answers
Answered by
1
Answer:
The main difference is polymorphism is a specific result of inheritance. Polymorphism is where the method to be invoked is determined at runtime based on the type of the object. This is a situation that results when you have one class inheriting from another and overriding a particular method.
Explanation:
plz mark branliest
Similar questions