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...

What is the difference between Integer and int?

Answer Posted / janet

Integer is a class defined in the java.lang package,where
as int is a primitive data tyep defined in the java
language itself.Java doesn't automatically convert from one
to the other.
Integer can be used as an argument for a method that
requires an object,where as int can be used for
calculations.

Is This Answer Correct ?    59 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is keyword in oop?

949


Why is logger singleton?

1103


Is there a way to increase the size of an array after its declaration?

1039


What are the benefits of java?

1126


What is difference between float and double?

957


What is comparable and comparator interface? List their differences

1093


Can a class be final?

934


What are the differences between throw and throws?

1069


Can we split string with in java?

997


What is class level lock ?

1020


What is a nested list?

956


Why we use set in java?

992


What are the differences between wait() and sleep()?

1007


What is predicate in java?

1046


What do you mean by singleton class in java?

898