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

Can we write class inside a class in java?

919


Does constructor return any value?

969


What is module in oop?

959


What are the 4 versions of java?

1099


What is a parameter in a function?

950


What are the advantages of encapsulation in java?

952


What is the difference between arraylist and hashset in java?

1049


What is a modifier?

1427


What is mean by encoding?

1019


What is a super method?

923


Are arrays primitive data types?

1098


Explain the public class modifier?

884


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1187


what is the difference between process and thread? : Java thread

924


Is string a class in java?

920