| Author |
Does interfaces extend the object class
|
budsy remo
Ranch Hand
Joined: Sep 20, 2008
Posts: 103
|
|
|
To be specific does the interface Runnable extends Object class ?? According to me it's no but somebody put a doubt in my head ,so please answer . Thank you .
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
Interfaces cannot extend a class, not even Object. But the objects that implement these interfaces extend Object, either directly or indirectly through its super class.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
budsy remo
Ranch Hand
Joined: Sep 20, 2008
Posts: 103
|
|
|
Thanks a lot Rob Spoor .
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
|
|
|
You're welcome.
|
 |
 |
|
|
subject: Does interfaces extend the object class
|
|
|