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
Which containers use a flowlayout as their default layout in java programming?
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).
What is integer parseint?
Can singleton class be serialized?
Can constructor be inherited?
Difference between association, composition and aggregation?
How do you declare an empty string?
What is lossy conversion in java?
Explain reverse a linked list iterative solution in java?
What is the final keyword?
What is variable explain?
Why java is secure? Explain.
Can we write any code after throw statement?
How can we use primitive data types as objects?
What is the maximum length of a url?