Multiple choice technology web technology

You want to allow user to select more than one item from a List by holding Ctrl key. Which of the following properties will be used?

  1. allowCtrlSelections

  2. allowMultipleSelections

  3. selectedIndices

  4. selectedItem

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

The allowMultipleSelections property enables users to select multiple items from a List control, typically using Ctrl-click for non-contiguous selection or Shift-click for ranges. selectedIndices returns the indices of selected items, while selectedItem returns a single selection.