Describing Types question

Posted by user288245 on Stack Overflow See other posts from Stack Overflow or by user288245
Published on 2010-03-07T22:52:37Z Indexed on 2010/03/07 23:11 UTC
Read the original article Hit count: 144

Filed under:
|

I have a bunch of types (eg. LargePlane, SmallPlane) that could be in this collection i've made, how do i print like LargePlane? I've tried like typeOf() and stuff but it doesn't work. Within like a toString()? So when i output the collection it states what type it is.

© Stack Overflow or respective owner

Related posts about types

Related posts about java