If this method returns a String, doesn't it return an Object implicitly ?
(string instanceof (Object)) is True (object instanceof (String)) is False.
So an object (an instance of Object) is not a a String. So getInitParameter() does not return object. This is because Object is neither a subtype nor an implementer of String. If it were, then we could safely say getInitParameter() returns the subtype Object. But it isn't so we can't that. [ September 10, 2006: Message edited by: Firas Zuriekat ]