I have a method which takes a variable length string (String...) as parameter. I have a List with me. How can I pass this to the method as argument?>
List
You can use stream in java 8.
stream
String[] array = list.stream().toArray(String[]::new);
Then the array can be used in the ...args position.
...args