You have been asked to create a ResourceBundle which uses a properties file to localize an application.



Which code example specifies valid keys of menu1 and menu2 with values of File Menu and View Menu?

A.

File Menu
View Menu

B.

menu1File Menu
menu2View Menu

C.

menu1, File Menu, menu2, View Menu

D.

menu1 = File Menu
menu2 = View Menu

題解

ResourceBundle是使用「key=value」的結構來存放資料。