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

Interfaces

Vanitha Sugumaran
Ranch Hand

Joined: Apr 11, 2001
Posts: 356
Hi,
Why do we need interfaces? Anyway, the class which implements an interface has to declare the methods again.
Vanitha
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Standardization of methods across multiple classes that perform the similar functions. JDBC and JMS are excellent examples of why interfaces are so important.
This topic has been discussed here many times... try the search facility. Or go to http://www.bruceeckel.com and read the chapter on abstract classes and interfaces in "Thinking in Java".


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Take a look at this: http://www.javaranch.com/ubb/Forum34/HTML/000791.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interfaces