What is the benefit of polymorphism in Java?

Advantages of Polymorphism It helps the programmer to reuse the codes , i.e., classes once written, tested and implemented can be reused as required. Saves a lot of time. Single variable can be used to store multiple data types. Easy to debug the codes.

Sizin İçin Seçtik  What is polymorphism in Java and its types with examples?

Leave a Reply

Your email address will not be published. Required fields are marked *