This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Hello sir
Posted by Kishori Sharan on January 11, 2001 at 11:03 AM
Hi By default all methods in an interface is abstract becuase you cannot provide any implementation for interface methods. It is duty of the concrete class implementing the interface to implement those method. You don't need to use the keyword "abstract" while declaring methods for interfaces. It is already there. But, if you want to you can use it. However, explicit use of abstract keyword in interface declaration is considered to be old-fashioned. Thanx Kishroi
Replies:
|