aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "why Interfaces needed" Watch "why Interfaces needed" New topic
Author

why Interfaces needed

Harjeet Dadwal
Greenhorn

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
Thanks

[This message has been edited by Bindesh Vijayan (edited September 10, 2001).]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why Interfaces needed
 
Similar Threads
why are certain declared as abstract
why we use interface instead of abstract class
why we use interface instead of abstract class
extends interface
why we use interface instead of abstract class