aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Does every interface extend class Object? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Does every interface extend class Object? " Watch "Does every interface extend class Object? " New topic
Author

Does every interface extend class Object?

Gyanesh Sharma
Ranch Hand

Joined: Nov 27, 2005
Posts: 47
I know every class extend Object by default. Is this true with Interfaces too?
A related question would be, can an interface extend another class?

Thanks
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

Interfaces do not extend Object. Interfaces may extend other interfaces.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does every interface extend class Object?