My Ans: targetObject may be true for instanceOf Thread, Object, Runnable or String. Since Object is the superclass of all objects should that be correct answer?
The answer given in Boone's answers is 4 (or d). IMO, option 1 should be correct as well because Thread implements Runnable. Now come to option 5, should this be the correct answer depending on how the author defines targetObject. Obviously (but only after I read the API) the author extracts the wordtarget from the parameter's name of Thread constructor. So this one is open to interpretation. Option 2 is incorrect because passing instanceof Object test doesn't mean targetObject is Runnable. According to the Thread API, for single parameter, the constructor can only accept either String or Runnable instance.
Joyce [ July 22, 2005: Message edited by: Joyce Lee ]