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
Why stringbuilder is not thread safe in java?
What are streams?
How to display all the prime numbers between 1 and 100
Is the empty set a singleton?
Which is bigger float or double java?
What are the important features of Java 8 release?
What is default exception handling in java?
What are the types of casting?
How java enabled high performance?
What is replacefirst in java?
What are methods and how are they defined?
Where is stringbuffer stored?
What is tostring () method?
How do you reverse a list?
Is void a wrapper class?