Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can you call a method on a null object?

1059


What is the purpose of return statement?

1122


How do you compare values in java?

1094


What are static blocks in java ?

1145


What are 5 boolean operators?

1248


What are the characteristics of java?

1120


Is it compulsory for a try block to be followed by a catch block in java for exception handling?

1055


What is the difference between yield() and sleep()?

1064


Is upper case in java?

1006


What is the importance of finally block in exception handling?

1082


How do you sort arrays in java?

986


What is variable length arguments in java?

1034


What is a local block?

1190


What is package protected in java?

1024


In a container there are 5 components. I want to display all the component names, how will you do that?

2246