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

What is the purpose of a parameter?

1076


What does opcode mean?

1088


What is int short for?

1051


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

9210


What are dot operator queries?

1107


What is one third plus one third as a fraction?

939


What is the base class of all exception classes?

1070


Is alive method in java?

986


Can a main method be overloaded?

1025


How do you declare a destructor in java?

1005


What is unicode datatype?

967


What is the size of string?

1094


Are arrays primitive data types?

1188


Is array a class in java?

983


How does multithreading take place on a computer with a single cpu?

1009