My program directs me to have the user input 1 input line containing 4 rational numbers representing, length, width, thickness, and weight. They will be seperated by commas.

For example:

4, 4, .009, .0015

I then have to take those values and make various If statements to group them into the right category.

What I need help on is splitting the input line into 4 values. Is there some class, part of java.lang.object? Is it stringtokenizer?

ASAP please. THANKS!