Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get last element of array java

firstNum = numbers[0];
lastNum = numbers[numbers.length-1];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #array #java
ADD COMMENT
Topic
Name
3+3 =