About Question com.enthuware.ets.scjp.v6.2.160 :
Posted: Thu Oct 27, 2011 12:15 pm
If the class is Integer, then:
public static void main(String[] args){
Integer tlk=2;
Integer klt=2;
if(tlk==klt)
System.out.println("tlk is equal to klt");
}
public static void main(String[] args){
Integer tlk=2;
Integer klt=2;
if(tlk==klt)
System.out.println("tlk is equal to klt");
}