eh3rrera / ocpj8-book

Study guide for the Oracle Certified Professional, Java SE 8 Programmer Exam (1Z0-809)
Other
131 stars 91 forks source link

Chapter 30 - Question 4 - Undefined variable #50

Closed Rick84 closed 6 years ago

Rick84 commented 6 years ago

The code given for question 4 in chapter 30 uses an undefined variable 'rb'.

eh3rrera commented 6 years ago

Thanks a lot Rick, the correct method is locale.toLanguageTag(). It's fixed now.