1.

Select the output for the following set of Code : static void Main(string[] args) { int a = 5, b = 10; if (Convert.ToBoolean(Convert.ToInt32(0xB))) if (Convert.ToBoolean(Convert.ToInt32(022))) if (Convert.ToBoolean(Convert.ToInt32(' xeb'))) Console.WriteLine("java"); else ; else ; else ; }

A. Compile time error: Misplaced else
B. Compile time error: Undefined symbol
C. Java
D. Warning: Condition is always true
Answer» D. Warning: Condition is always true


Discussion

No Comment Found