Hi How can i get last three values of list.i tried this
stringAry.get(stringAry.size()-1);
But it displays only last item of list. How can we get last three values of list. pls guide me. Is that possible to store all this three values in String array
List<String> subList = stringAry.
subList(fromIndex, toIndex)
;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With