Java Interview Questions

Tuesday, 19 March 2013

What is the difference between Integer and int?


What is the difference between Integer and int?  
a) Integer is a class defined in the java. lang package, whereas int is a primitive data type defined in the Java language itself. Java does not automatically convert from one to the other.

Blog Author: Vijay Kumar

Go to: Coding Problem Solutions


Posted by Vijay Kumar at 5:58:00 pm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (116)
    • ▼  March (112)
      • ►  Mar 15 (30)
      • ►  Mar 16 (20)
      • ►  Mar 18 (10)
      • ▼  Mar 19 (10)
        • What is the difference between String and String B...
        • Can you have an inner class inside a method and wh...
        • What is the difference between abstract class and ...
        • What is a cloneable interface and how many methods...
        • What is the difference between Integer and int?
        • What is an abstract class?
        • What is interface and its use?
        • What is a reflection package?
        • What is a package?
        • What are inner class and anonymous class?
      • ►  Mar 21 (15)
      • ►  Mar 24 (13)
      • ►  Mar 27 (12)
      • ►  Mar 30 (2)
    • ►  April (3)
      • ►  Apr 08 (1)
      • ►  Apr 21 (2)
    • ►  May (1)
      • ►  May 07 (1)

About Me

Vijay Kumar
View my complete profile
Awesome Inc. theme. Powered by Blogger.