File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Interface Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interface Question" Watch "Interface Question" New topic
Author

Interface Question

Michael Eller
Ranch Hand

Joined: Feb 28, 2004
Posts: 32
Hi,

I have studying the use of interfaces. I believe I am getting a good grasp of the subject.
I do have one question.
Is it safe to say that an interface provides the methods that an object that implements that interface uses as a means of communication with other objects? ... hence the name interface.

Thanks for any and all assistance.

v/r
Mike
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Correct. There may or may not be logical/direct relationship between those objects. That's what a loose coupling means.
But be clear with the use of Interface and Abstract Class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interface Question