aspose file tools*
The moose likes Beginning Java and the fly likes Regarding Interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regarding Interfaces" Watch "Regarding Interfaces" New topic
Author

Regarding Interfaces

praveen raaj
Greenhorn

Joined: Nov 30, 2009
Posts: 11
Hi Friends,
Object class is a super class for all classes,Right?so what about Interfaces?
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

An interface is not a class.


[My Blog]
All roads lead to JavaRanch
Patricia Samuel
Ranch Hand

Joined: Sep 12, 2007
Posts: 300
What exactly you want to ask?
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1278

Hi Praveen,

there is simply no concept like a "global super interface" I think the reason is simply because it wouldn't make much sense to define an abstract global interface all classes must implement. With "Object" that's another thing because it doesn't only provide an abstract interface but instead "real" functionality which is required for all objects in Java to work properly with core concepts and APIs. I hope this makes it clearer.

Marco
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36497
    
  16
But whenever you instantiate an interface, usually by making a class which implements that interface, that class extends java.lang.Object.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding Interfaces
 
Similar Threads
a good tutorial on Interfaces
interfaces
Identifying all class and Interfaces used in the class
A Question From TestLab
JMS API, web-service client