LogiQuest
Back to Exception Handling
1

What is the output of the following program?

try { int z = 0; Console.Write(10 / z); }
catch (DivideByZeroException) { Console.Write("D"); }
finally { Console.Write("F"); }
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.