up previous next contents
Next: When to Use Interfaces Up: Interfaces Previous: Using an Implementation   Contents

Marker Interfaces

  • Do not declare any methods - mark a class as having some general property.
  • Define no language-level behavior.
  • All of the contract is in the documentation.


up previous next contents
Next: When to Use Interfaces Up: Interfaces Previous: Using an Implementation   Contents