K
Multiple choices 41/50
Answer (Choose 1 answer)
What will be the output of the following program?
A. The program will compile successfully but will throw an exception at runtime
B. The program will a compile time warning and run successfully
C. The program will give a compile time error
D. The program will compile and run successfully
class Person
{
public void Introduction () {
Console.WriteLine("I am a person.");
}
public string Introduction(){
return "I am a person.";
}
Next
5
43 44 45 46 47 48 49 50
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
42