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  Bitcoin de BSC nedir?

Leave a Reply

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