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 default locale java?

1109


Explain about object oriented programming and its features?

1012


What do you mean by pointer value and address?

1046


Name few java 8 annotations ?

1021


Can we sort set in java?

949


What is public/private protected in java?

1041


What is udp in java?

970


What is a constructor overloading in java?

1034


What is purpose of keyword void?

1039


How many types of assembly languages are there?

966


Can a constructor be private and how are this() and super() method used with constructor?

994


Can a variable be local and static at the same time?

998


Write a program to print 15 random numbers using foreach of java 8?

932


how to create multithreaded program? : Java thread

944


What is the difference between equals() and == in java?

968