Top "Abstract-class" questions

Abstract classes are classes which cannot be instantiated.

Abstract attributes in Python

What is the shortest / most elegant way to implement the following Scala code with an abstract attribute in Python? abstract …

python oop scala abstract-class
Why can't I create an abstract constructor on an abstract C# class?

I am creating an abstract class. I want each of my derived classes to be forced to implement a specific …

c# inheritance oop constructor abstract-class
Class Mapping Error: 'T' must be a non-abstract type with a public parameterless constructor

While mapping class i am getting error 'T' must be a non-abstract type with a public parameterless constructor in order …

c# mapping abstract-class
Abstract constructor in C#

Possible Duplicate: Why can’t I create an abstract constructor on an abstract C# class? Why I can't declare abstract …

c# .net constructor abstract-class
C#: Abstract classes need to implement interfaces?

My test code in C#: namespace DSnA { public abstract class Test : IComparable { } } Results in the following compiler error: error CS0535: …

c# syntax interface abstract-class
When to use abstract classes?

Here is the MSDN article on abstract classes, but I really don't get it... When should I really use abstract …

c# .net abstract-class
Pure virtual methods in C#?

I've been told to make my class abstract: public abstract class Airplane_Abstract And to make a method called move …

c# abstract-class pure-virtual
Abstract Class vs. Interface

I have searched around SO as well as the rest of the web for a good answer but I have't …

php interface abstract-class conceptual
Difference between Abstract Class and Trait

Possible Duplicate: Scala traits vs abstract classes What is the conceptual difference between abstract classes and traits?

scala abstract-class traits
Why is a pure virtual function initialized by 0?

We always declare a pure virtual function as: virtual void fun () = 0 ; I.e., it is always assigned to 0. What I …

c++ abstract-class pure-virtual