

MCQOPTIONS
Saved Bookmarks
1. |
The output of the following fraction of code ispublic class Test{public static void main(String args[]){String s1 = new String("Hello");String s2 = new String("Hellow");System.out.println(s1 = s2); }} |
A. | ello |
B. | ellow |
C. | ompilation error |
D. | hrows an exception |
E. | one of these |
Answer» C. ompilation error | |