Computer Science, asked by harini0611, 1 year ago

what is the benefit of polymorphism

Answers

Answered by aastha15das
1
Polymorphism is the ability of an object to take on many forms. ... Any Java object that can pass more than one IS-A test is considered to bepolymorphic. Advantages of Polymorphism. 1.Method overloading allows methods that perform similar or closely related functions to be accessed through a common name.....hope it helps
Answered by monuedu1
1
Advantages of polymorphism: 

- Same interface could be used for creating methods with different implementations 
- Reduces the volume of work in terms of distinguishing and handling various objects 
- Supports building extensible systems 
- Complete implementation can be replaced by using same method signatures 
Similar questions