public class Test

{

public static void main(String ar[])

{

Integer a = 10;

Integer b =10;

Integer c = 145;

Integer d = 145;

System.out.println(a==b);

System.out.println(c==d);

}

}

Answer Posted / ravindra

true
true

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the swingutilities.invokelater(runnable) method for? : Java thread

660


What is a java applet? What is an interface?

732


What are the important methods of java exception class?

642


What is an error in java?

726


How are java objects passed to a method and what are native methods?

686






Explain the inheritance?

665


Can we clone singleton class in java?

611


Why we go for collections in java?

645


State the merge-sort principle and its time complexity.

646


What is generic type?

656


What is rule of accessibility in java?

639


What is general methodology?

654


What is the main use of generics in java?

603


Is Java a dying language?

674


Which class is the superclass for all the classes?

628