print first and last strings of an array java code example
Example: find last element in array in java
firstNum = numbers.get(0);
lastNum = numbers.get(numbers.size() - 1);
firstNum = numbers.get(0);
lastNum = numbers.get(numbers.size() - 1);