How I can add elements to a list from a input in java.

Like if i put:

Scanner reader = new Scanner("a,b,c,d,e);

I want to Have it like String[] a = {a,b,c,d,e];

Using any Scanner Methods with whiles , Really i am little bit lost

Sorry for my English( is not my main language)