KnowledgeBoat Logo
LoginJOIN NOW

Computer Applications

Which OOP principle implements function overloading? Explain

OOP Intro Java

ICSE 2007

249 Likes

Answer

Polymorphism implements function overloading. It is the process of using a function/method for more than one purpose. In function overloading, we write more than one function with the same name but differing in the number and types of their arguments to perform different tasks. This way we get different behaviours using the same function name.

Answered By

141 Likes


Related Questions