File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Does interfaces extend the object class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Does interfaces extend the object class " Watch "Does interfaces extend the object class " New topic
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: 19654
    
  18

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 - OCEEJBD 6
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: 19654
    
  18

You're welcome.
 
Don't get me started about those stupid light bulbs.
 
subject: Does interfaces extend the object class
 
Similar Threads
Array class?
Object Class
GC
why finalize() can't be defined as private?
About getClass() method usage