Top "Abstract-class" questions

Abstract classes are classes which cannot be instantiated.

Does ECMAScript 6 have a convention for abstract classes?

I was surprised that I couldn't find anything about abstract classes when reading up on ES6. (By "abstract class" I'm …

javascript oop abstract-class ecmascript-6
What's the difference between an abstract class and an interface?

Suppose we have two methods M1() and M2() in an interface. An abstract class also has just the same two …

c# oop interface abstract-class
not implementing all of the methods of interface. is it possible?

Is there any way to NOT implement all of the methods of an interface in an inheriting class?

java interface abstract-class
cannot declare variable ‘’ to be of abstract type ‘’

EDIT: After spending a bit of time understanding the code I wrote I still don't know what is wrong with …

c++ inheritance gcc abstract-class pure-virtual
PHP abstract properties

Is there any way to define abstract class properties in PHP? abstract class Foo_Abstract { abstract public $tablename; } class Foo …

php oop abstract-class
Visual Studio: How do I show all classes inherited from a base class?

In Visual Studio, How do I show all classes inherited from a base class? For example, in ASP.NET MVC …

visual-studio class abstract-class
Why use Abstract Base Classes in Python?

Because I am used to the old ways of duck typing in Python, I fail to understand the need for …

python abstract-class abc
How to create abstract properties in python abstract classes

In the following code, I create a base abstract class Base. I want all the classes that inherit from Base …

python properties abstract-class decorator
UnsupportedOperationException at java.util.AbstractList.add

I'm having issues getting a block of code to run properly. I'm not entirely sure WHAT this code does (I'm …

java list exception abstract-class
Abstract property with public getter, define private setter in concrete class possible?

I'm trying to create an abstract class that defines a property with a getter. I want to leave it up …

c# properties abstract-class setter getter