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
How to sort an array from smallest to largest java?
Explain java coding standards for methods?
Is a case study a method or methodology?
Why we override equals() method?
What is main difference between variable and constant?
Explain heap sort?
What is a variable and constant?
Explain about varargs in java?
Explain spliterator in java8?
What is JVM and is it platform independent?
What are locale settings?
What are the advantages of user defined functions?
Is static a singleton?
String class is defined under which package in java?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?