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 is += mean in java?
What is ternary operator? Give an example.
How to change the priority of thread or how to set the priority of thread?
What is meant by interface?
What is the difference between a loader and a compiler?
Why multiple inheritance is not supported by java?
Is string a data type in java?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
How do you sort a string in alphabetical order in java?
What is hash in java?
What does flagged out mean?
Why a dead thread occurs?
What is empty string literal in java?
Difference between method overloading and method overriding in java ?
Is passing by reference faster?