JavaBean的属性必须声明为private,方法必须声明为()访问类型。

JavaBean的属性必须声明为private,方法必须声明为()访问类型。

A.protec

B.static

C.public t

D.private

正确答案:public t

猜你喜欢