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

how to prepare for IT Officers Interview in Banks

1919


What are peerless components?

1035


What is string english?

971


What is the full form of jpeg?

912


Which software is used for java programming?

969


Can I extend singleton class in java?

1047


What is the map interface in java programming?

972


What are disadvantages of java?

962


Explain the difference between an Interface and an Abstract class?

1125


What is a wrapper method?

1024


What is use of functional interface in java 8? Explain

957


How to restrict a member of a class from inheriting by its sub classes?

1297


What is the difference between static binding and dynamic binding?

1055


When parseint method can be used?

903


How do you reverse a string in java?

1063