Top "Abstract" questions

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

How can I force a Constructor to be defined in all subclass of my abstract class

I have an abstract class A that define abstract methods. This means that, for a class to be instanciable, all …

java constructor abstract
How can I determine whether a Java class is abstract by reflection

I am interating through classes in a Jar file and wish to find those which are not abstract. I can …

java class abstract
Why would one declare a Java interface method as abstract?

I used the "pull interface" refactoring feature of Eclipse today to create an interface based on an existing class. The …

java eclipse interface abstract
Why give an "abstract: true" state a url?

I've be fiddling around with ui-router today in trying to better understand the scaffolding in Ionic and one thing that …

angularjs ionic-framework angular-ui-router state abstract
Swift - class method which must be overridden by subclass

Is there a standard way to make a "pure virtual function" in Swift, ie. one that must be overridden by …

swift abstract swift-protocols
why do we need abstract classes in Java?

Why do we need abstract classes in Java? If you're never going to make it into an object, why have …

java class abstract-class abstract abstract-methods
Benefits of using an abstract classes vs. regular class

I have decided to start doing small coding projects on my own that focus on code quality instead of code …

oop class abstract-class abstract
Not sure when to use an abstract property and when not

I'm not really sure what looks better or when do I really use in abstract classes and properties, or when …

c# .net oop properties abstract
How is abstract class different from concrete class?

I understand WHY we need Abstract Class in Java - to create sub-classes. But the same can be achieved by …

java class abstract
Java: static field in abstract class

I just start out with an example, that explains it best: public abstract class A{ static String str; } public class …

java static abstract