The answer to the above question is B. Explaination: Since String is the only class for which an assignment operator += is defined. Source: Bill Brogden Exam Cram 2 Sample Test Two
Now I tried compiling option C & D. Both works fine. Are options C and D legal???
Please help..
thank you all,
Raghav
-----------------<br />SCJP 1.4<br />Target SCWCD by December 2007