试题详情
单项选择题JavaBean的属性必须声明为private,方法必须声明为()访问类型。

A、private

B、static

C、protect

D、public

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题