I would like to have a variable type(the only one I can think of is Object) that able to hold Vector and String.
Object a = null;
a = new Vector();
a = new String("");
If a is vector then do something else do nothing;
How to determine if a is vector or not. There is not such method a.isVector().