Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Arrays methods in java

Set<String> set = new HashSet<String>(Arrays.asList(stringArray));
System.out.println(set);
//[d, e, b, c, a]
Source by www.programcreek.com #
 
PREVIOUS NEXT
Tagged: #Arrays #methods #java
ADD COMMENT
Topic
Name
9+1 =