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:

Java Language Spec

Posted by Dan on May 24, 2000 at 7:22 PM

> 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)

See the Java Language Spec which goes into much more detail
and examples:

"An interface declaration introduces a new reference type whose members are constants and abstract methods. This type
has no implementation, but otherwise unrelated classes can implement it by providing implementations for its abstract
methods."

http://java.sun.com/docs/books/jls/html/9.doc.html



Replies:

Sponsored Links



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