Select the correct option to test your answer:
More Computer Questions
Which of the following statements about properties in C# is true?
LAN stands for?
What is the correct syntax to send a 3-dimensional array as a parameter? (Assuming declaration int a[5][4][3];)
Which algorithm is used to find the shortest path from a source node to all other nodes in a graph with non-negative weights?
What will be the output of the following C# code? class sample { public int i; void display() { Console.WriteLine(i); } } class sample1 : sample { public int j; public void display() { Console.WriteLine(j); } } class Program { static void Main(string[] args) { sample1 obj = new sample1(); obj.i = 1; obj.j = 2; obj.display(); Console.ReadLine(); } }