0

As these methods will be used w.r.t threading. No mater how you create thread, you will create an object of Thread class or object of subclass of Thread class. Then why these methods are in Object and not in Thread class?

1
  • 7
    That's the most duplicated title I've ever seen.. Commented Apr 8, 2014 at 7:25

1 Answer 1

0

If all these methods present in Thread class, then if you are going to create a thread implementing Runnable interface, then this method is directly not available. If these methods are present in Runnable interface, then always we have to provide body for this. Thats why they kept these methods inside Object class.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.