Mphasis Interview Question

One example: in the same class you have methods with the same names, both with one parameter, first is taking Object and second is taking String. You call the method with null parameter, which method will be called and why? (Would you write a code like this in a real project?)

Interview Answer

Anonymous

Feb 13, 2021

But you should know this.

3