Top "Abstract-class" questions

Abstract classes are classes which cannot be instantiated.

overriding abstract methods in an inherited abstract class

Okay so basically I have the following problem: I'm trying to have an abstract class inherit another abstract class that …

c# inheritance abstract-class multi-level abstract-methods
Inheritance of Custom Attributes on Abstract Properties

I've got a custom attribute that I want to apply to my base abstract class so that I can skip …

c# reflection attributes abstract-class
Should an abstract class have a serialVersionUID

In java, if a class implements Serializable but is abstract, should it have a serialVersionUID long declared, or do the …

java serialization abstract-class serialversionuid
How to use TimerTask with lambdas?

As you hopefully know you can use lambdas in Java 8, for example to replace anonymous methods. An example can be …

java lambda abstract-class timertask java-8
Which one is fast, Abstract class or Interface?

Possible Duplicate: Why are interface method invocations slower than concrete invocations? I recently had a chance to appear in an …

performance oop interface abstract-class concept
Template or abstract base class?

If I want to make a class adaptable, and make it possible to select different algorithms from the outside -- …

c++ design-patterns templates abstract-class virtual-functions
How can I simulate interfaces in C++?

Since C++ lacks the interface feature of Java and C#, what is the preferred way to simulate interfaces in C++ …

c++ interface naming-conventions abstract-class
PHP Interface and Abstract Class best practice for inheritance?

When defining the structure and inheriting Interface and/or Abstract Class, which one is the best practice? And why? Here …

php inheritance abstract-class implementation
Copy constructor: deep copying an abstract class

Suppose I have the following (simplified case): class Color; class IColor { public: virtual Color getValue(const float u, const float …

c++ constructor abstract-class deep-copy
pure-specifier on function-definition

While compiling on GCC I get the error: pure-specifier on function-definition, but not when I compile the same code using …

c++ abstract-class pure-virtual