Exam 1z0-809 All QuestionsBrowse all questions from this exam
Question 70

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?

    Correct Answer: D

    The correct way to specify keys and their corresponding values in a properties file for a ResourceBundle is through the format 'key = value'. Therefore, 'menu1 = File Menu menu2 = View Menu' correctly sets 'menu1' to 'File Menu' and 'menu2' to 'View Menu'.

Discussion
WilsonKKerllOption: D

Answer is D.

samtash1034Option: D

D,test

shivkumarxOption: D

I'm assuming D has a typo, as properties files do not contain commas

asdfjhfgjuaDCVOption: D

D is the correct answer

steefaandOption: D

D is correct.