The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Interfaces



This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


abstract classes in java vs in c++ why?

Posted by aasma azam on September 24, 2001 at 8:52 AM

> If Interfaces are so useful in Java, why is it that you did not make use of pure virtual base classes in C++? Is there some difference between them which make the Java interface easier to use? Has Java, by disallowing multiple implementation inheritance, made you take the step of separating implementation from interface in a way you would not have done without being forced to? Also, if you now went back to C++ would you now make much more use of virtual base classes than you did before?

  • question ANI February 12, 2002 at 5:03 AM (0)

Sponsored Links

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