aspose file tools*
The moose likes Beginning Java and the fly likes Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interface" Watch "Interface" New topic
Author

Interface

Prabha Dhandapani
Ranch Hand

Joined: Sep 11, 2003
Posts: 70
Hi,
Can sombody tell me the difference between implementing an interface and extending an interface.
Thanks,
Prabha
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Prabha Dhandapani!
Note that The Beginners Forum is likely a more appropriate place to ask such a question. This JavaRanch forum, where we are now, was intended for questions related to JavaRanch and the Big Moose Saloon.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Concerning answering your question, perhaps a quick example with less than complete descriptions will help.
Consider the following interface definitions, which exemplify one interface extending another.If a class is defined to implement InterfaceB, then it must implement all methods declared in InterfaceA and in InterfaceB (else the class must be declared abstract).
If something isn't clear, just ask another question.
I hope to see you 'round the Ranch!
Prabha Dhandapani
Ranch Hand

Joined: Sep 11, 2003
Posts: 70
Hello Dirk Schreckmann,
Thanks a lot for the explanation. My doubt has been cleared.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interface