Ask Your question
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Search & Filtering
The function will accept three parameters, the array of values, the value to be entered, and a
string which identifies the position. The positions can be either ‘front’ or ‘back’. Invalid position values should throw an exception with an appropriate message. You are expected to use the appropriate methods of the array (list).