Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Rabiah Begum    on Jul 11 In Java Category.

  
Question Answered By: Hilma Miller   on Jul 11

In the upcoming release of Java, there will remain no difference in
primitive data types & their object counter-parts. Java 1.5 will support
auto-boxing/unboxing, so to the programmer it will be same to use 'int'
or 'Integer'. You would be able to right:

int x = new Integer(7);
Integer y = x;
y++;

etc.....

Share: 

 

This Question has 19 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on JAVA OOP or not ? Or get search suggestion and latest updates.


Tagged: