Take the 2-minute tour ×  According to Herb Sutter one should
prefer abstract interfaces (all pure virtual functions) to
abstract classes in C++ to decouple the implementation as far as
possible. While I personally find this rule very useful, I have
recently joined a team with many Java programmers and in the
Java code this guideline does not seem to exist. Functions and
their implementations are very frequently located in abstract
classes. So did I get Herb Sutter all wrong even for C++ or is
there a general difference in the usage of abstract functions in
C++ compared to Java. Are abstract classes with implementation
code more sensible in Java than in C++ and if yes why ?
share|improve this question I had some doubts and finally put it
here because it could be due to some design principles that I'm
missing about the java oo. So then it is not about a general
advice but more about the right and the wrong to use the
language –  Martin Aug 7 '12 at 20:54 Interfaces are meant to be
purely virtual. The idea of