Set 5 – Java, Oracle, Unix Interview Questions
1. Which method gives the index position of an element in Stack data structure? 1. indexOf() 2. search() 3. elementAt() 4. elementIndexOf() 2. The removeRange(3, 8) removes all the elements in Vector 1. from 3 to 8 2. from 3 to 7 3. from 2 to 8 4. from 2 to 7 3. What is …