I came through this question and was confused as to what and why the ans should be??
String str = "10"; int a = new Interger (10);
which of the following is legal: - choose any 3.
a) str += a;
b) boolean b = str == a;
c) boolean b = str == a.toString();
d) boolean b = str == a + "";
i am confused with a and b.