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 many java versions are there?

1047


How can you read content from file in java?

998


Explain the use of sublass in a java program?

1023


How can I right-justify a string?

1167


hr interview how many minutes asking question

2042


What is the difference between the file and randomaccessfile classes?

1093


How many bits is a word?

998


Difference between static synchronization vs. Instance synchronization?

1111


what do you understand by synchronization? : Java thread

984


What is the structure of java?

1022


What java ide should I use?

987


What is ternary operator?

1000


What is an object class?

1023


What is the difference between array and array list in java?

1225


How do singleton patterns work?

964