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
How to sort a collection of custom Objects in Java?
Is a string literal?
What do you understand by the term singleton?
What is Classloader in Java?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is a numeric format?
What are java methods?
What are variable names?
What are namespaces in java?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
What languages are pass by reference?
What is the difference between equals() and == in java?
What are loops in java? What are three types of loops?
Which command from the jdk compiles a java program?