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

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

    To create a ResourceBundle using a properties file, the correct syntax for specifying keys and their corresponding values is 'key = value'. This makes 'menu1 = File Menu' and 'menu2 = View Menu' the proper format. Therefore, the valid code example is 'menu1 = File Menu' followed by 'menu2 = View Menu'.

Discussion
InnovationOption: D

menu1 = File Menu menu2 = View Menu

asdfjhfgjuaDCVOption: D

D is the correct answer

steefaandOption: D

D is true.

iSnoverOption: D

Answer is D: menu1 = File Menu menu2 = View Menu

M_JawadOption: D

Answer is D menu1 = File Menu menu2 = View Menu