单项选择题

为添加一个构件的add方法是()类方法。

A.BorderLayout
B.Component
C.Container
D.ButtonGroup