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 / sonalgusain99@gmail.com
1.true,true
2.false,true
3.true,false
plz also gv explanation
Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What are the different types of java?
What is an infinite loop?
How to check if a list is sorted in java?
Can we overload the constructors?
Define locale.
Explain the key functions of data binding?
how to create multithreaded program? : Java thread
What are scriptlets?
Can we create an object of static class in java?
What is the final variable?
Can we print null in java?
Can I declare a class as private?
what is collatration?
What does escaping a character mean?
What is the difference between jdk and jre?