

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program? class Output { public static void main(String args[]) { try { int a = 9; int b = 5; int c = a / b - 5; Console.WriteLine("Hello"); } catch(Exception e) { Console.WriteLine("C"); } finally { Console.WriteLine("sharp"); } } } |
A. | Hello |
B. | C |
C. | Hellosharp |
D. | Csharp |
Answer» E. | |