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 is an unordered collection that allows duplicate elements, mapped using a java.util.Collection. Unlike a List or an Array, a Bag does not maintain an index column, making the second option correct and the first and third options incorrect.