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 we call the run() method instead of start()?

1004


What are the high-level thread states in java programming?

1017


when should you use stringbuilder class in a program?

944


What does pointer mean?

1005


What is a static method in java?

1014


Is null false in java?

1157


How many types of string data types are there?

1047


Can we have any code between try and finally blocks?

988


Explain the differences between abstraction and encapsulation?

1018


How do you achieve singleton?

930


What is bigger kb or mb?

993


When should I use singleton?

983


When wait(), notify(), notifyall() methods are called does it releases the lock or holds the acquired lock?

963


Explain the scope of a variable.

1051


What is palindrome in java?

955