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 / 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 session in java?

1263


Can you change array size in java?

975


What is the difference between jfc & wfc?

1086


What is the difference between break and continue statements?

1051


Does java set allow duplicates?

1097


How do you input a string in java?

1094


What is the default value of local and global variables?

1109


what methods would you overwrite in java.lang.object class?

1019


What are the five major types of reference sources?

1148


What is == mean?

1008


Tell me how many ways are there to initialise an integer with a constant.

1122


Can we sort hashmap in java?

970


How do you execute a thread in java?

967


Can we clone singleton object in java?

1032


Explain some best practices you would apply while using collection in java?

1052