Multiple choice

Which of the following methods is/are not present in the AbstractListModel class in Java?

  1. fireContentsChanged(Object src, int ind0, int ind1)

  2. fireIntervalAdded(Object src, int ind0, int ind1)

  3. fireContentsAdded(Object src, int ind0, int ind1)

  4. removeListDataListener(ListDataListener l)

  5. Both 3 and 4

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

This is the correct choice because there is no method fireContentsAdded(Object src, int ind0, int ind1) present in AbstractListModel class in Java.