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?
Asked
Active
Viewed 689 times
0

Maroun
- 94,125
- 30
- 188
- 241

Vallabh Patade
- 4,960
- 6
- 31
- 40
-
7That's the most duplicated title I've ever seen.. – Maroun Apr 08 '14 at 07:25
1 Answers
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.

Rajiba
- 1