4
Answers

Overloaded Function

Dipankar Sana

Dipankar Sana

14y
2.5k
1

I have two overloaded function as follows:
Public Void Test(String S)
{
//Something  
 }
Public Void Test(Object S)
{
//Something  
 }
Now if I call Test with null value, which function will get called and why ?
Test(null);
 
 
 
Answers (4)