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
How do you sort a string in alphabetical order in java?
What is xslt in java?
what is heap memory?
Are true and false keywords?
Explain where variables are created in memory?
What is the difference between integer parseint and integer valueof?
How do you execute a thread in java?
Define interface in java?
What is the difference between conversation & casting?
Can you make a constructor final?
What is an immutable object? How do you create one in java?
How do you override a method?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
Can we assign integer value to char in java?
What is difference between array and vector?