Hi guys,
I got the following code from Whizlab,
which of the following statements is/are true about compiling and running the following code ?
[A] The program comiples correctly and prints "false" and null.
[B] The program will comiple correctly if line 1 is removed
[C] The program will compile correctly if line 2 is removed
[D] The program will compile correctly if line 3 is removed
[E] The program will compile correctly if line 4 is removed
[F] None of above
This
test about final reference variable can not assign value more than once. So answer B and E are both correct, but this is a single answer question, which one should I go if similar question appears in real exam?