Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get last element of array java

int a[]={1,2,3};
int last = a[a.length-1];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #array #java
ADD COMMENT
Topic
Name
8+8 =