1.

Which method is used to get three-letter abbreviation for locale’s country in servlets?(a) Request.getISO3Country()(b) Locale.getISO3Country()(c) Response.getISO3Country()(d) Local.retrieveISO3Country()The question was asked by my school principal while I was bunking the class.This is a very interesting question from Servlet topic in chapter Java Server Technologies & Servlet of Java

Answer»

Correct ANSWER is (a) Request.getISO3Country()

Easiest EXPLANATION: Each country is USUALLY denoted by a 3 DIGIT CODE.ISO3 is the 3 digit country code.



Discussion

No Comment Found

Related InterviewSolutions