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 things should be kept in mind while creating your own exceptions in java?
What are voids?
What is a class in java?
What is the use of System class?
How to store image in arraylist in java?
Can I learn java without any programming experience?
Can we serialize singleton class?
What is difference between stringbuffer and string?
Difference between string s= new string (); and string s = "abv";?
Compare java and python.
Explain about member inner classes?
Why do we use string?
How do you change an int to a string?
What is difference between fail-fast and fail-safe?
What is an object in java?