在Java中,以下哪个关键字用于定义一个接口? A. class B. interface C. extends D. implements 答案解析 在Java中,'interface'关键字用于定义一个接口。因此,选项B是正确的。 正确答案:B