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
What is a type parameter in java?
What is polymorphism java example?
Which is the best approach for creating thread ?
What is locale?
What is the purpose of static methods and variables?
What is meant by oops concept in java?
What are access specifiers available in java?
What is flag in java?
Is binary a low level language?
What is a consumer in java?
How do I type unicode?
What is passing by reference in java?
Can an object subclass another object?
Why we go for collections in java?
What do you know about java?