I just wanted to know whether the methods defined TreeSet i.s headSet(), subSet(), and tailSet() important to do for the exam because doing the mock tests havent any question pertaining to this
Harry is right. Moreover, it would be advantageous for you if you go through the syntax and usage of these functions not only for your exam but for your programming career.