In
Java 1.5 option will give true.
for eg,output for the snippet will result in both true.
equals() of the wrapper classes can take primitive value also.
--------------------------------------------
public class Test100
{
public static void main(
String cmd[])
{
int i = 42;
Integer in = new Integer(42);
System.out.println(in.equals(i));
System.out.println(new Long(42).equals(42L));
}
}
----------------------------------------------------