Hi... i'm new to
java...
I have a
string input like this --
String input = "D-K,D-Q,D-J,D-10,D-9,D-8,D-7,D-6,D-5,D-4,D-3,D-2,D-1";
I'm done tokenizing the string.
and i have to make an output like this..
list 1: D-K
list 2: D-Q, D-9
list 3: D-J, D-8, D-6
list 4: D-10, D-7, D-5, D-4
excess: D-3, D-2, D-1
please help me with the code... thanks!