This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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).]
 
 
subject: why Interfaces needed
 
Similar Threads
why we use interface instead of abstract class
why are certain declared as abstract
why we use interface instead of abstract class
extends interface
why we use interface instead of abstract class