Multiple choice technology programming languages

Which statement is correct?

  1. Bag has index column

  2. Bag permits duplicate element values

  3. Bag does not permits duplicate element values

  4. None

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

In Hibernate, a Bag collection permits duplicate element values and does not maintain index information. Unlike List which requires an index column, Bag is like an unordered collection that allows duplicates. This makes it simpler but less powerful than List for ordering operations.