Sagot :
[tex]\large\pink{\boxed{Answer:}}[/tex]
•Inheritance vs polymorphism JavaInheritance is one in which a new class is created (derived class) that inherits the features from the already existing class(Base class). Whereas polymorphism is that which can be defined in multiple forms. ... Inheritance supports the concept of reusability and reduces code length in object-oriented
programming.
Answer:
Polymorphism in Java is a concept by which we can perform a single action in different ways. ... So polymorphism means many forms. There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and method overriding.