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 fail fast in java?

1248


Name and explain the types of ways which are used to pass arguments in any function in java.

1126


When should you make a function static?

1029


What happens when you add a double value to a string?

1056


What is the purpose of static methods and static variables?

1124


write a program that list all permutations of ABCDEF in which A appears before B?

2515


What is the difference between variable declaration and variable initialization?

1086


Explain oops concepts in detail?

1074


What is %02d?

1142


What is mnemonic in assembly language?

1115


In case of inheritance what is the execution order of constructor and destructor?

1183


What is a values collection view ?

1145


Differentiate between class and structure.

1178


What is the difference between iterator and enumeration ?

1041


How is java hashmap implemented?

1074