How to check which subclass is object of superclass? : <p><strong>To explain my question:</strong>
Car, Boat, Airplane are subclasses from Toy class.
How can I check which subclass is object of Toy class?</p>
