Overloaded Function

May 26 2010 6:58 AM

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)