Which of these Thread methods is deprecated?
Answer: C
stop is deprecated, as are suspend and resume, because they leave shared state in an unpredictable condition. join, interrupt and setDaemon are all current API. Compiling a call to a deprecated method still succeeds; the compiler only warns.
Please log in or register to report this question.