單項選擇題

請問如下哪個方法可以將MenuBar加入Frame中?()

A.setMenu()
B.setMenuBar()
C.add()
D.addMenuBar()

微信掃碼免費搜題