342.
What is the output: public class Countries { public static void Display(string countryID) { Console.WriteLine("Country ID is " + countryID); } public void Display(int countryID) { Console.WriteLine("Country ID is " + countryID); } } class Africa { static void Main() { Countries southafrica = new Countries(); southafrica.Display("12"); } }
View Description
static void Display(string countryID) is invoked because "12" is a string therefore because the method is a static method needs to be invoked as Countries.Display("12");