sharma ishu wrote:This is from a mock test of year 2009.
So, you mean to say that if this question occurs in the exam now then only options 1 and 2 will be correct? Please tell me if I am right or wrong.
The method still exists in the
Thread class, so 4 would still be correct. But I think it would be a very poor question to ask about deprecated methods. But then, it was already a poor question in 2009. I'd be surprised if the real exam asked it, but I can't be sure they wouldn't.