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 / satish
true
true
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What does || || mean in math?
What is Major and importance difference between for and foreach loop ?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is java util hashmap?
Is call by reference possible in java?
What is java object name?
Is upper case in java?
What is the difference between preemptive scheduling and time slicing?
How to sort a collection of custom Objects in Java?
What is a final class ?
What method is used to specify a container's layout in java programming?
What is purpose of keyword void?
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Can we change the value of static variable?
Can you instantiate the math class?