The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
May 2000

Advertisement

Advertisement

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:

abstrace and interface

Posted by kannan on January 30, 2001 at 12:41 AM

Interfaces are implicitely abstract.Assume that you have four methods in an interface. when u implements this interface, u have to make use of all the methods declared in interface. Atlease u have to make a dummy implementation of these methods.
whereas a abstrace medhod is not necessarly have all methods as abstrace.


> > Hello,
> > can you please give an exact definition of Abstract class and
> > Interface. Is there any relationship between these two. If so,
> > please give the details.( Details with examples is well and good)





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us