Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Cesar Gonzalez   on Mar 01 In Java Category.

  
Question Answered By: Isaac Williams   on Mar 01

even I wonder what exactly r you trying to do.
Your object  t is not a string  object and thus you
cannot do Integer.parseInt(String t). What I would
like to ask is why do you want int  value for the
object as a whole. You have an int property, put a
getter to get that or if you need an id for the object
as a whole get the object ID.

Share: 

 

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

 
Didn't find what you were looking for? Find more on How Do I Cast Object To Int ? Or get search suggestion and latest updates.


Tagged: