Check out example codes for "String... java". It will help you in understanding the concepts better.

Code Example 1

//Object... (here String...) means that you can give
//in parameter one or many objects of same type

func();

func("arg1", "arg2", "arg3");

String[] args = new String[]{"arg1", "arg2", "arg3"}
func(args);

void func(String... args);

Learn ReactJs, React Native from akashmittal.com