Basics
Challenges
Classes
Debugging
Events
External Files
Flow Control
Forms
Functions
Html Elements
Installation
Interfaces
Keywords
Modules
Namespaces
Operators
Reference Files
String
Types
Abstract classes are base classes from which other classes may be derived. They may not be instantiated directly. Unlike an interface, an abstract class may contain implementation details for its non-abstract members. The abstract keyword is used to define abstract classes as well as abstract methods within an abstract class.
Abstract members (function and properties) must be defined in the derived classes and not in the abstract class. They are just sketched out.
To create a derived class from an abstract class, you must use the extends
keyword.
Implements: Used with Interfaces and Classes A Class implements an Interface. Extends: An Abstract Class is inherited. A derived class extends an abstract class.