employer cover photo
employer logo
employer logo

Akshay Software Technologies Ltd.

Is this your company?

Akshay Software Technologies Ltd. interview question

What is method overloading and Why is method overloading not possible by changing the return type in java

Interview Answer

Anonymous

3 Feb 2021

Method overloading is the polymorphism technique which allows us to create multiple methods with the same name but different signature. We can achieve method overloading in two ways. Changing the number of arguments Changing the return type