Top "Abstract-class" questions

Abstract classes are classes which cannot be instantiated.

Python Abstract Method With It's own __init__ function

How can I define a __init__ function in both the base and derived abstract classes and have all self.* be …

python python-3.x abstract-class abc
Difference between Trait and an Abstract Class in PHP

I recently came across Traits in PHP and I'm trying to understand them. During my research I stumbled upon this …

php abstract-class traits
Abstract class in Objective-C

I need your help. Following problem in Objective-C: // Robot.h @protocol RobotProtocol <NSObject> -(void)doWork; @end @interface …

objective-c protocols abstract-class cocoa-design-patterns
What are the benefits to using a partial class as opposed to an abstract one?

I have been reading Programming Microsoft® Visual C#® 2008: The Language to get a better understanding of C# and what can …

c# class abstract-class partial-classes
python subclasscheck & subclasshook

The methods __subclasscheck__ and __subclasshook__ are used to determine if a class is regarded as subclass of another. However, their …

python python-3.x abstract-class metaclass
Using WCF with abstract classes

How do I define DataContract for abstract classes in WCF? I have a class "Person" which I communicate successfully using …

.net wcf abstract-class datacontract
Is there a way to make a method which is not abstract but must be overridden?

Is there any way of forcing child classes to override a non-abstract method of super class? I need to be …

java inheritance overriding abstract-class abstract-methods
abstract method use vs regular methods

I would like to know the difference between two conventions: Creating an abstract base class with an abstract method which …

c# abstract-class abstract-methods
Determine if a Python class is an Abstract Base Class or Concrete

My Python application contains many abstract classes and implementations. For example: import abc import datetime class MessageDisplay(object): __metaclass__ = abc.…

python abstract-class abc
Usercontrols that inherit from abstract class

I've got a usercontrol that inherits from an abstract class. Basically looks like this. class SimpleSlideView : View { } public abstract class …

c# abstract-class designer windows-forms-designer