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


Please Help Members By Posting Answers For Below Questions

What is matcher in java?

510


define the terminology association.

607


What will be the initial value of an object reference which is defined as an instance variable?

627


What is token in java?

527


Can a lock be acquired on a class in java programming?

526






How many digits can a float hold?

525


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

529


What does java ide mean?

629


What is the requirement of thread in java?

610


what is the messsage u r going to get from an objectoriented programing?

1600


How many bytes is a string in java?

525


What is command line argument in java?

594


Can we sort set in java?

529


What are the differences between processes and threads?

504


What is int argc char * argv?

559