Advertisement
Guest User

Untitled

a guest
Nov 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. String[] arrayValue = {"test","test1","test2"};
  2. int position = Arrays.asList(arrayValue).indexOf("test");
  3.  
  4. position: 0th Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement