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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 19541
    
  16

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: 19541
    
  16

You're welcome.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does interfaces extend the object class
 
Similar Threads
why finalize() can't be defined as private?
GC
Object Class
About getClass() method usage
Array class?