The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Interfaces

Advertisement

Advertisement

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.

Message:

query

Posted by Rahul on December 07, 2000 at 3:26 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?






Replies:

Sponsored Links



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