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

Can a class have multiple subclasses?

1054


What do you mean by ternary operator in java?

964


Write java program to reverse string without using api?

982


What is nextline method in java?

976


Why collection doesn’t extend cloneable and serializable interfaces?

1050


Name and explain the types of ways which are used to pass arguments in any function in java.

1010


What are the advantages of arraylist over arrays?

1040


How do you use parseint in java?

938


What is the difference between post and put?

995


What are the methods to rectify ambiguities in the interfaces in JAVA?

1032


What is the static keyword?

1033


What is the purpose of using javap?

1029


Why string is not a wrapper class?

1141


What is the use of default method in interface in java?

966


How many boolean functions are there?

924