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 n in java?
What does next mean in java?
List two java ide’s?
What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?
What is a two-pass assembler?
Explain implementation and how is it different from conversion?
What is instance example?
Is object a data type?
Say any two properties in beans?
What is a generic code?
How do I print a “?
What is the purpose of a parameter?
What is the default value of an object reference declared as an instance variable?
What is nextline method in java?
What is a ternary operator in java? What is an interface?