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

Which containers use a flowlayout as their default layout in java programming?

517


take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).

1535


What is integer parseint?

553


Can singleton class be serialized?

519


Can constructor be inherited?

580






Difference between association, composition and aggregation?

565


How do you declare an empty string?

624


What is lossy conversion in java?

565


Explain reverse a linked list iterative solution in java?

504


What is the final keyword?

559


What is variable explain?

530


Why java is secure? Explain.

601


Can we write any code after throw statement?

614


How can we use primitive data types as objects?

562


What is the maximum length of a url?

515