Top "Abstract" questions

abstract is a keyword shared by a multitude of object-oriented programming languages.

Abstract Methods don't have body?

I am new to Java (reading books for 4 months now). So probably my question can appear too simple. My understanding …

java abstract abstract-methods
How can I force inheriting classes to implement a static method in C#?

All I want to do is make sure that child classes of the class Item implement a static method and …

c# interface static methods abstract
How do you declare a type alias in a scala constructor?

If I have a class that takes a tuple in its constructor among other values such as: class Foo(a: …

class scala types case abstract
ForeignKey field related to abstract model in Django

I have this model: class BaseModel(models.Model): .... class Meta: abstract = True class ModelA(BaseModel): .... class ModelB(BaseModel): .... class MyExtModel(…

python django foreign-keys abstract
Can one declare a static method within an abstract class, in Dart?

In an abstract class, I wish to define static methods, but I'm having problems. In this simple example abstract class …

class static dart abstract
Kotlin Abstract Protected Property

If I have the following class hierarchy: abstract class Foo<out T : Bar>() { abstract protected val thing: T } …

properties abstract kotlin
Precise definition of "functional interface" in Java 8

Recently I started exploring Java 8 and I can't quite understand the concept of "functional interface" that is essential to Java's …

java lambda java-8 abstract functional-interface
Is it possible to specify a static function in a Kotlin interface?

I want to do something like this: interface Serializable<FromType, ToType> { fun serialize(): ToType companion object { abstract fun …

interface static-methods abstract kotlin static-functions