An Extends Parameter cannot have a Default Value Error
You assigned a default value to a parameter that uses the Extends keyword.
Example
The following parameter declaration is not acceptable.
See Also
Extends keyword.