For the implementation of an algorithm,I need to delete a particular value from the list.
Eg:---
My list:---
Ist row->4,7,3,4
IInd row->2,8,6,5
IIIrd row->3,5,1,7
Before delete some values,I need to sort it.That is,
Collections.sort(list);
Sorted Result
2,8,6,5
3,5,1,7
4,7,3,4
Expected OUTPUT Now I need to delete 1st elements of all rows. The output is
8,6,5
5,1,7
7,3,4
How I do this???I tried it by using tokenizer method,but I don't get it.