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 Mutex (Mutual Exclusion Object) ?
What is the use of keywords in java?
State one difference between a template class and class template.
Where and how can you use a private constructor?
Name some classes present in java.util.regex package.
What is the driver class?
What is console based application in java?
What is int short for?
What is internal iteration in java se 8?
Which collection does not allow duplicates in java?
Explain different ways of creating a thread. Which one would you prefer and why?
Is singleton thread safe in java?
Is jdk required on each machine to run a java program?
Can you explain the meaning of aggregation and composition
What data type is string java?