Given the code fragment: What is the result? A. Sum is 600 B. Compilation fails at line n1. C. Compilation fails at line n2. D. A ClassCastException is thrown at line n1. E. A ClassCastException is thrown at line n2.

Given: And given the code fragment: What is the result? A. 4W 100 Auto 4W 150 Manual B. Null 0 Auto 4W 150 Manual C. Compilation fails only at line n1 D. Compilation fails only at line n2 E. Compilation…

Given the code fragment: What is the result? A. May 04, 2014T00:00:00.000 B. 2014-05-04T00:00: 00. 000 C. 5/4/14T00:00:00.000 D. An exception is thrown at runtime.