A Java class or interface whose declaration restricts which types may directly extend or implement it.