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:

Abstract Class V/S Interface

Posted by Viswanatha GB on August 20, 2001 at 5:46 AM

Hi

1.Neither can not be initanitiated
2.Abstract class can have defined methods

If you have an abstract class with no defined methods, you're better off using an Interface.

hope IT may help u..
Good luck

Vishwa


> > Hi,
> > I have general question, What is the different between interface and abstract class. When to go for Interface and When to go for Abstract class.
> > Thanking you,
> > With Regards,
> > shoeb






Replies:

Sponsored Links



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