Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Difference between casting and parsing

807605Sep 6 2007 — edited Sep 6 2007
Hi,

What is the difference between :
Integer.parseInt(objectArray[pos].toString());
and
(Integer)objectArray[pos];
Olek
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 4 2007
Added on Sep 6 2007
5 comments
1,407 views