Valid 1Z0-804 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-804 Exam! ExamDiscuss.com now offer the newest 1Z0-804 exam dumps, the ExamDiscuss.com 1Z0-804 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-804 dumps with Test Engine here:
Given three resources bundles with these values set for menu1: (the default resource bundle in US English.) English US Resource Bundle Menu1 = small French Resource Bundle Menu1 = petit Chinese Resource Bundle Menu1 And given the code fragment: Locale.setDefault(new Locale("es", "ES")); // Set default to Spanish and Spain Locale loc1 = Locale.getDefault(); ResourceBundle message = ResourceBundle.getBundle("MessageBundle", loc1); System.out.println(message.getString("menu1")); What is the result?
Correct Answer: D
Explanation/Reference: Explanation: Compiles fine, but runtime error when trying to access the Spanish Resource bundle (which does not exist): Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name messageBundle, locale es_ES