

MCQOPTIONS
Saved Bookmarks
1. |
Choose the correct output for the given set of code: static void Main(string[] args) { try { Console.WriteLine("csharp" + " " + 1/Convert.ToInt32(0)); } catch(ArithmeticException e) { Console.WriteLine("Java"); } Console.ReadLine(); } |
A. | Csharp |
B. | Java |
C. | Run time error |
D. | Csharp 0 |
Answer» C. Run time error | |