hi,
Regarding the
test at
http://www.angelfire.com/or/abhilash/Main.html test1. question 1 is
------------------------------------------------
Read this piece of code carefully
if("String".toString() == "String")
System.out.println("Equal");
else
System.out.println("Not Equal");
Answers
1.the code will compile an print "Equal".
2.the code will compile an print "Not Equal".
3.the code will cause a compiler error.
-----------------------------------------------
he says the answer is 1. but i get a compiler error. hence
i think it is answer 3.
Similar is the case with question 2 in that test.
Has anybody else taking this exam come up with something similar?
Regards
Ramesh