File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes why Interfaces needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why Interfaces needed" Watch "why Interfaces needed" New topic

why Interfaces needed

Harjeet Dadwal

Joined: Sep 09, 2001
Posts: 17
*****Method declared in interfaces must overriden by the class implementing the interface and method body has to be defined or constructed then we can do this one without implement the interface, I mean there is no need for interfaces, if we have to write the entire body of the method declared in interface then why interfaces are needed if we have to write the code again ?
Harjeet Singh Dadwal

Harjeet Dadhwal
Bindesh Vijayan
Ranch Hand

Joined: Aug 21, 2001
Posts: 104
umm.. seems like everyone is after interfaces.Harjeetji you should read this thread
click here

[This message has been edited by Bindesh Vijayan (edited September 10, 2001).]
I agree. Here's the link:
subject: why Interfaces needed
It's not a secret anymore!