Testing where Object is in Hierarchy
linstanceof operator

l Object ob = É;

l if( ob instanceof Vector ) É
l if( ob instanceof Stack ) ...

lMore than one can be true!