Anyone help me! java basic question

Posted by Max on Stack Overflow See other posts from Stack Overflow or by Max
Published on 2010-06-06T13:33:29Z Indexed on 2010/06/06 13:42 UTC
Read the original article Hit count: 135

Filed under:
|
|
|

How can I get a specific value from an object? I'm trying to get a value of an instance for eg.

ListOfPpl newListOfPpl = new ListOfPpl(id, name, age);
Object item = newListOfPpl;

How can I get a value of name from an Object item?? Even if it is easy or does not interest you can anyone help me??

© Stack Overflow or respective owner

Related posts about java

Related posts about homework