Multiple choice general knowledge science & technology

Which of the follwoing returns more than one value associated with parameter?

  1. Getparameter()

  2. getParameterValue()

  3. getParameterValues()

  4. getParamValues()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The getParameterValues() method returns all values for a parameter that has multiple values (like multi-select dropdowns or checkbox groups). It returns a String array containing all values. getParameter() returns only the first value, while getParameterValue() and getParamValues() are not standard servlet API methods.