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 / seven hills

true
false


because the value of Integer object should not be greater than 127...if u put<127 then always true

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you sort words in java?

876


What is the mapping mechanism used by java to identify IDL language?

954


Tell me a few examples of final classes defined in Java API?

1013


Is string is a keyword in java?

927


Why heap memory is called heap?

986


What is a map in java?

931


How to check if linked list contains loop in java?

845


Explain when classnotfoundexception will be raised ?

979


What are exceptions

1034


Can we override tostring method in java?

921


What do you mean by checked exceptions?

897


Can a final variable be manipulated in java?

929


Does string isempty check for null?

961


Does a class inherit the constructors of its superclass in java programming?

1007


What is the best way to findout the time/memory consuming process?

972