单项选择题

下列选项中,用于声明类的继承的关键字是 ( )

A.import
B.implements
C.interface
D.extends